comparison bns_website/settings/base.py @ 27:a5e8741452a3

Add path to Django in WSGI file. Use Django's simplesjon module as it will either import the Python system one if it exists, or use the one provided with Django as a fallback. This is needed for the production server, which is running Python 2.5.
author Brian Neal <bgneal@gmail.com>
date Tue, 01 Nov 2011 20:15:21 -0500
parents 6f68f6800843
children ced908af601a
comparison
equal deleted inserted replaced
26:6f68f6800843 27:a5e8741452a3
1 # Django base settings for bns_website project. 1 # Django base settings for bns_website project.
2 2
3 import json 3 import django.utils.simplejson as json
4 import os 4 import os
5 5
6 PROJECT_PATH = os.path.abspath(os.path.join(os.path.split(__file__)[0], '..')) 6 PROJECT_PATH = os.path.abspath(os.path.join(os.path.split(__file__)[0], '..'))
7 7
8 DEBUG = True 8 DEBUG = True