Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Updated .wsgi scripts and moved them to a better location.

Also killed the crontab since it's moved into chef.
  • Loading branch information...
commit d585fb3b65149defaa9f463100ff245cdf7e4021 1 parent 13719c4
Jacob Kaplan-Moss jacobian authored
0  config/code.wsgi
View
No changes.
8 config/crontab
View
@@ -1,8 +0,0 @@
-# Crontab for djangoproject.com.
-# Symlink into /etc/cron.d/
-
-PYTHONPATH=/home/djangoproject.com/
-DJANGO_SETTINGS_MODULE=django_website.settings
-
-15,45 * * * * root /home/djangoproject/bin/python /home/djangoproject.com/manage-www.py update_feeds
-25,55 * * * * root /home/djangoproject/bin/python /home/djangoproject.com/manage-www.py update_docs
4 config/docs.wsgi → wsgi-scripts/docs.wsgi
View
@@ -2,7 +2,7 @@ import os
import sys
import site
-SITE_PACKAGES = '/home/djangoproject.com/lib/python2.6/site-packages'
+SITE_PACKAGES = '/home/www/djangoproject.com/lib/python2.6/site-packages'
# Remember original sys.path.
prev_sys_path = list(sys.path)
@@ -22,7 +22,7 @@ sys.path[:0] = new_sys_path
here = os.path.dirname(__file__)
parent = os.path.dirname(here)
sys.path.append(parent)
-os.environ['DJANGO_SETTINGS_MODULE'] = 'djangodocs.settings'
+os.environ['DJANGO_SETTINGS_MODULE'] = 'django_website.settings.docs'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
4 config/www.wsgi → wsgi-scripts/www.wsgi
View
@@ -2,7 +2,7 @@ import os
import sys
import site
-SITE_PACKAGES = '/home/djangoproject.com/lib/python2.6/site-packages'
+SITE_PACKAGES = '/home/www/djangoproject.com/lib/python2.6/site-packages'
# Remember original sys.path.
prev_sys_path = list(sys.path)
@@ -22,7 +22,7 @@ sys.path[:0] = new_sys_path
here = os.path.dirname(__file__)
parent = os.path.dirname(here)
sys.path.append(parent)
-os.environ['DJANGO_SETTINGS_MODULE'] = 'django_website.settings'
+os.environ['DJANGO_SETTINGS_MODULE'] = 'django_website.settings.www'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
Please sign in to comment.
Something went wrong with that request. Please try again.