Sightly off topic, but your .py files seem to be exposed by your webserver -
you shouldn't do this or anyone could download them!
Le 22 sept. 2011 08:02, "kenneth gonsalves" a
écrit :
> On Wed, 2011-09-21 at 19:37 +0100, Cal Leeming [Simplicity Media Ltd]
> wrote:
>> Oh jeez - modpython, I've nfi
On Wed, 2011-09-21 at 19:37 +0100, Cal Leeming [Simplicity Media Ltd]
wrote:
> Oh jeez - modpython, I've nfi how to make that work with the same
> approach. Maybe check mod_python docs??
apachectl graceful - no other way.
--
regards
Kenneth Gonsalves
--
You received this message because you are
On Wednesday, 21 September 2011 19:25:08 UTC+1, vijaymohan wrote:
>
> i did't modify httpd.conf
> i just included the below line in /etc/httpd/conf.d/python.conf
>
> LoadModule python_module modules/mod_python.so
>
>
> SetHandler python-program
> PythonHandler django.core.handlers.modpytho
Oh jeez - modpython, I've nfi how to make that work with the same approach.
Maybe check mod_python docs??
Cal
On Wed, Sep 21, 2011 at 7:25 PM, vijaymohan wrote:
> i did't modify httpd.conf
> i just included the below line in /etc/httpd/conf.d/python.conf
>
> LoadModule python_module modules/mod
i did't modify httpd.conf
i just included the below line in /etc/httpd/conf.d/python.conf
LoadModule python_module modules/mod_python.so
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE mysite.settings
PythonOption django.root /
Sorry, I should have been more clear on this.
In your apache config, you should have specified a WSGI file to attach to
(assuming you are using WSGI) - this is the file you need to touch.
If not, please specify how you are telling Apache to connect to your python
app.
Cal
On Wed, Sep 21, 2011
i am in very early stage of learning django. if you don't mind could you
tell me what the bootstrapper is ?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-
Yeah that won't work.
You need to 'touch' your bootstrapper.
Cal
On Wed, Sep 21, 2011 at 6:24 PM, vijaymohan wrote:
> [vijay]$ cd /var/www/html/mysite/
> [vijay mysite]$ ls
> __init__.py manage.py settings.py templates urls.py views.py
>
> modified views.py file.
>
> --
> You received thi
[vijay]$ cd /var/www/html/mysite/
[vijay mysite]$ ls
__init__.py manage.py settings.py templates urls.py views.py
modified views.py file.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://gro
May I ask which file you are attempting to 'touch'? You can only do it on
the bootstrapper.
Cal
On Wed, Sep 21, 2011 at 5:58 PM, vijaymohan wrote:
> i am using Apache, touch approach is not working for me.Is there any change
> i need to make in httpd.conf ?
>
> --
> You received this message be
i am using Apache, touch approach is not working for me.Is there any change
i need to make in httpd.conf ?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-
Hi Vijay,
Some web app servers will allow you to 'touch' the wrapper file (wsgi.py for
example) which will in turn trigger a restart. Running manage.py in
'runserver' mode will also do this (this is for dev, NOT for production).
But for the most part, production will require you to restart the we
I am new to django and did't find solution googling. i changed a .py
file in my app and hit refresh button on web browser but the changes
are not reflected until i restart the httpd. is there any flag i need
to set this to happen.
I set PythonAutoReload On in python.conf.
Changes to template file
13 matches
Mail list logo