#5582: Default manager and model init methods should allow raw field name
arguments for foreign keys
---------------------------------------------------+------------------------
Reporter: Simon Litchfield <[EMAIL PROTECTED]> | Owner:
nobody
Status: closed | Component:
Database wrapper
Version: SVN | Resolution:
worksforme
Keywords: | Stage:
Design decision needed
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
---------------------------------------------------+------------------------
Changes (by ubernostrum):
* status: new => closed
* resolution: => worksforme
Comment:
Passing the "_id"-style argument directly into the model constructor works
for me on current trunk. Similarly, it works in `create`, and it works in
the `defaults` argument to `get_or_create`.
--
Ticket URL: <http://code.djangoproject.com/ticket/5582#comment:2>
Django Code <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
-~----------~----~----~----~------~----~------~--~---