#6805: Get exception when initializing a GenericForeignKey using
Model.get_or_create()
---------------------------------------------------+------------------------
Reporter: [email protected] | Owner: nobody
Status: closed | Milestone: 1.0
Component: Database layer (models, ORM) | Version: SVN
Resolution: wontfix | Keywords:
GenericForeignKey
Stage: Design decision needed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Comment (by oliland):
It seems odd that this is inconsistent with Model.object.create(), which
accepts a content_object field.
--
Ticket URL: <http://code.djangoproject.com/ticket/6805#comment:5>
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.