Re: app __init.py__ question

2009-08-03 Thread Karen Tracey
On Mon, Aug 3, 2009 at 11:31 AM, chexov wrote: > Clear. Thanks for the answer. > What cause the autoreloader to reload the modules? > Is it reacts only when source code files was changed? > Yes, it reloads when it detects that a source file has changed on disk, to make development easier so you

Re: app __init.py__ question

2009-08-03 Thread joep
Thanks Karen. That helps a lot. I have more questions about what is going on, but I'll read through the translation section of the docs first to see if the answers are there first. On Aug 3, 10:31 am, chexov wrote: > On Aug 3, 5:00 pm, Karen Tracey wrote: > > > > > On Mon, Aug 3, 2009 at 3:20 A

Re: app __init.py__ question

2009-08-03 Thread chexov
On Aug 3, 5:00 pm, Karen Tracey wrote: > On Mon, Aug 3, 2009 at 3:20 AM, chexov wrote: > > > On Aug 3, 2:46 am, joep wrote: > > > Hi all, > > > > I have both a project and an app I just created (using django-admin). > > > I modified the __init.py__ file in the app to execute a print > > > sta

Re: app __init.py__ question

2009-08-03 Thread Karen Tracey
On Mon, Aug 3, 2009 at 3:20 AM, chexov wrote: > > On Aug 3, 2:46 am, joep wrote: > > Hi all, > > > > I have both a project and an app I just created (using django-admin). > > I modified the __init.py__ file in the app to execute a print > > statement on import. But it gets executed twice when I

Re: app __init.py__ question

2009-08-03 Thread chexov
On Aug 3, 2:46 am, joep wrote: > Hi all, > > I have both a project and an app I just created (using django-admin). > I modified the __init.py__ file in the app to execute a print > statement on import. But it gets executed twice when I start the > development server. > > Oddly, it doesn't happen

app __init.py__ question

2009-08-02 Thread joep
Hi all, I have both a project and an app I just created (using django-admin). I modified the __init.py__ file in the app to execute a print statement on import. But it gets executed twice when I start the development server. Oddly, it doesn't happen when I set USE_I18N = False in the settings fi