#10405: quoted class names in foreign key definition causes 'str' object has no
attribute '_default_manager'
-------------------------------------+-------------------------------------
Reporter: danbrwn | Owner: mitsuhiko
Type: Bug | Status: new
Milestone: | Component: Database layer
Version: 1.2 | (models, ORM)
Resolution: | Severity: Normal
Triage Stage: Accepted | Keywords: foreign,key,quoted
Needs documentation: 0 | Has patch: 0
Patch needs improvement: 0 | Needs tests: 0
-------------------------------------+-------------------------------------
Comment (by tehfink <djsnickles@…>):
Interestingly, I've noticed this AttributeError is not raised if the
quoted class name passed to the ForeignKey is 'auth.User'…perhaps because
'django.contrib.auth' is usually the first installed app in
INSTALLED_APPS?
--
Ticket URL: <http://code.djangoproject.com/ticket/10405#comment:27>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.