Re: Sequence of code validation

2014-08-17 Thread Malik Rumi
Thanks. Your answer led me straight to https://docs.python.org/2/tutorial/modules.html#packages and I am working my way through that now, but it looks promising. If I have more issues, I'll be back... On Sun, Aug 17, 2014 at 8:44 AM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > Hi Mal

Re: Sequence of code validation

2014-08-17 Thread Russell Keith-Magee
Hi Malik, Ah - in that case, you're not looking at anything special that Django is doing; you're just seeing the result of importing Python code. Running something like ./manage.py runserver sets of a sequence of complex code internally - effectively, all the code in your project (or, at least, a

Re: Sequence of code validation

2014-08-17 Thread Malik Rumi
Thanks for both the reply and it's speed. Yes, this looks to be part of what I am looking for. I say part because the link you gave does not specifically reference checking views and urls.py, but whatever check is being run for me is clearly looking there, too. I am using 1.7c1, and the reason I as

Re: Sequence of code validation

2014-08-17 Thread Russell Keith-Magee
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

Sequence of code validation

2014-08-17 Thread Malik Rumi
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