Re: Compiling views.py?

2007-09-27 Thread Kenneth Gonsalves
On 28-Sep-07, at 12:31 AM, Tim Chase wrote: > (whether via hitting the "manage.py runserver" server, or > actually pointing at it via your production web server). Python > will notice that the .pyc is out of date and automatically > rebuild it for you. This happens so quickly, it's almost >

Re: Compiling views.py?

2007-09-27 Thread James Bennett
On 9/27/07, Prateek Parekh <[EMAIL PROTECTED]> wrote: > Also, i have recently enabled a couple of apps in the settings.py and > urls.py, but i haven't been able to access them in my website. Does > this also require a restart? Any change of any sort to any part of your code, other than HTML in a

Re: Compiling views.py?

2007-09-27 Thread Prateek Parekh
Thanks a lot for your response. Yes, i am running django on a linux machine and apache server. And, i haven't been able to see the changes that i made in the views.py get reflected on my website. So, i guess, i'll have to restart the apache server. Also, i have recently enabled a couple of apps

Re: Compiling views.py?

2007-09-27 Thread Tim Chase
> i have to quickly make a few changes. I have replaced one > email address in views.py by another. Now, i'd like to know if > i need to recompile this views.py file, and if so what is the > exact command ( will python views.py work). It's non-obvious if you're coming from the compiled-language

Re: Compiling views.py?

2007-09-27 Thread eXt
Hi! What you ask about depends on your environment's configuration. If you have an application behind a web server like for example Apache it should be enough to restart that server. If your applications is started with ./manage.py runserver it should automatically read newer version of file

Compiling views.py?

2007-09-27 Thread Prateek Parekh
Hi, I am quite new to django framework, and was looking at an application developed by someone else. And, i have to quickly make a few changes. I have replaced one email address in views.py by another. Now, i'd like to know if i need to recompile this views.py file, and if so what is the exact