#11448: Defining relationships after querying a model does not add a reverse
lookup
to the referenced model
---------------------------------------------------+------------------------
Reporter: Dennis Kaarsemaker | Owner: nobody
Status: new | Milestone:
Component: Database layer (models, ORM) | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Comment (by Dennis Kaarsemaker):
Updated patch: fixing del(), adding comments and adding a test case.
./runtests.py -v2 query_between_definitions fails without the (rest of
the) patch applied and succeeds otherwise. I cheated a little bit by not
actually running a query, but the calling init_name_map(). This is the bit
that actually causes the problem and running a query would call this
function too.
--
Ticket URL: <http://code.djangoproject.com/ticket/11448#comment:6>
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
-~----------~----~----~----~------~----~------~--~---