Using django ORM from web browser and from command line apps
News123
news1234 at free.fr
Tue Jun 21 21:18:50 EDT 2011
On 06/22/2011 03:08 AM, Ian Kelly wrote:
> On Tue, Jun 21, 2011 at 6:21 PM, News123 <news1234 at free.fr> wrote:
>> Out of curiousity: Do you know whether the imports would be executed for
>> each potential command as soon as I call manage.py or only
>> 'on demand'?
>
> Off the top of my head, I don't know.
Never mind.
WIill jsut add a print statement when I make my first test.
This should clearly show whether the module is imported all the time or
only on demand.
More information about the Python-list
mailing list