#11696: validate command in 1.1 hides errors in models that used to be shown
---------------------------------------------------+------------------------
Reporter: martin maney | Owner: lsaffre
Status: assigned | Milestone:
Component: Database layer (models, ORM) | Version: 1.1
Resolution: | Keywords:
Stage: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 1
Needs_better_patch: 0 |
---------------------------------------------------+------------------------
Comment (by CarlFK):
I am reverting back the change to db/models/loading.py This seems to be
all that is needed, and the unit test pass. Will review later for double
loading issue once the following unit tests are written:
1. valid models.py work
2. missing models.py must not fail at this point (if it's needed then it
will be reported later, not obscurely)
3. models.py with a compile error must raise the actual import/compile
exception so that the traceback shows the expected clues to what happened
--
Ticket URL: <http://code.djangoproject.com/ticket/11696#comment:8>
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.