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
>
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
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
> 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
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
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
6 matches
Mail list logo