Skip to content

Commit

Permalink
adding proper wsgi file
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Jul 20, 2011
1 parent 51ea1b1 commit 0a1df16
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions brodidyouhear/apache/brodidyouhear.wsgi
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import os
import sys

path = '/srv/www/brodidyouhear.com'
if path not in sys.path:
sys.path.insert(0, '/srv/www/brodidyouhear.com')

os.environ['DJANGO_SETTINGS_MODULE'] = 'brodidyouhear.settings'

import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()

0 comments on commit 0a1df16

Please sign in to comment.