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 > > <Location "/"> > SetHandler python-program > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE mysite.settings > PythonOption django.root /mysite > PythonDebug On > PythonAutoReload On > PythonPath "['/var/www/html'] + sys.path" > </Location> > > > and mysite directory i have the below files > __init__.py manage.py settings.py templates urls.py views.py > > > so, which file should i touch ? >
Firstly, mod_python is deprecated. Don't use it. Use mod_wsgi instead for production. Secondly, for development, don't use Apache. Use the built-in runserver. That's what it's for. -- DR. -- 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/-/EGeD6Z5etUQJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.