Permalink
Browse files

Added 404 and munged paths in the startthedark.wsgi.

  • Loading branch information...
1 parent 0e7879d commit 4af3539642b8ec07ef8753682b5fe43a9ad92502 @ericflo committed Aug 29, 2008
Showing with 7 additions and 0 deletions.
  1. +2 −0 startthedark.wsgi
  2. +5 −0 templates/404.html
View
@@ -1,6 +1,8 @@
import os, sys
sys.stdout = sys.stderr
+if '/var/www/startthedark.com' not in sys.path:
+ sys.path.append('/var/www/startthedark.com')
if '/var/www/startthedark.com/startthedark' not in sys.path:
sys.path.append('/var/www/startthedark.com/startthedark')
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
View
@@ -0,0 +1,5 @@
+{% extends "base.html" %}
+
+{% block main_content %}
+<p>We&rsquo;re sorry, but the page that you requested could not be found.</p>
+{% endblock %}

0 comments on commit 4af3539

Please sign in to comment.