HI Malik,
It sounds like you might be referring to the validation/system check framework.
In Django 1.6, this is implemented using a single huge method that looks for specific problems in your model definitions. This functionality isn't well documented, and isn't extensible as an end user. If you want to run the validation manually, you can invoke `python manage.py validate` - that will *just* run the validation. Commands like syncdb and runserver hook into the same functionality and force a validation check before they do what they're supposed to do.
In Django 1.7 (soon to be released), the validation tools have been replaced but the system checks framework. This capability *is* documented, and *is* user extensible.
You invoke the system check framework by calling `python manage.py check` (calls to validate will redirect to check).
I hope that helps.
Yours,
Russ Magee %-)
On Sun, Aug 17, 2014 at 8:08 PM, Malik Rumi <malik.a.rumi@gmail.com> wrote:
When you run python mange.py *, Django runs through your code and stops to point out errors instead of giving you runserver or shell or whatever you were trying to do. What is that sequence? Is it the same every time? Where can I find out more about it? I looked in the docs, but I couldn't find it. I assume that's because I don't know the right keywords. Thx.--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f9cb25aa-784e-4512-9172-19df8b67b3ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJxq84_sM6am%3DnU2WU6ShPY%2BwBi%2BkeLKrAHCuUCTJV%3DA5gsVMA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment