summaryrefslogtreecommitdiffstats
path: root/files/django.conf
diff options
context:
space:
mode:
authorJordan OMara <jomara@redhat.com>2008-06-27 12:51:29 -0400
committerJordan OMara <jomara@redhat.com>2008-06-27 12:51:29 -0400
commit306568a40f5314f349105f16da32dcb18df0d542 (patch)
treeccdf5dbc3ca86f70423e4a39729396d5db322157 /files/django.conf
parent1c4dca63043253fa2388316492bbe51d0e36a03b (diff)
downloadpuppet-django-306568a40f5314f349105f16da32dcb18df0d542.tar.gz
puppet-django-306568a40f5314f349105f16da32dcb18df0d542.tar.xz
puppet-django-306568a40f5314f349105f16da32dcb18df0d542.zip
Adding django config file for mod_python
Diffstat (limited to 'files/django.conf')
-rw-r--r--files/django.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/files/django.conf b/files/django.conf
new file mode 100644
index 0000000..6501b1c
--- /dev/null
+++ b/files/django.conf
@@ -0,0 +1,8 @@
+# Custom Django entry for mod_python
+<Location "/everest-django/">
+ SetHandler python-program
+ PythonHandler django.core.handlers.modpython
+ SetEnv DJANGO_SETTINGS_MODULE everest-django.settings
+ PythonDebug On
+ PythonPath "['/usr/local/everest-django'] + sys.path"
+</Location>