#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 Alex):
1) Yeah, I understand, but we try to follow PEP8 where possible.
3) Here are the docs on Django's test framework:
http://docs.djangoproject.com/en/dev/topics/testing/?from=olddocs#writing-
tests, here's some info on getting setup to run the test suite:
http://lazypython.blogspot.com/2008/11/running-django-test-suite.html,
lastly take a look at the tests/regressiontests directory of the source.
Each directory in there is a set of self contained tests. However, the
nature of this problem makes me think it will be very difficult to tests,
so if it seems impossible I wouldn't waste a ton of time on it.
--
Ticket URL: <http://code.djangoproject.com/ticket/11448#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
-~----------~----~----~----~------~----~------~--~---