* Replace some tabs by spaces and put a vim modeline in every python file.
[matthijs/projects/xerxes.git] / settings.py
index 9805d75b1607730f5ff19aa51323568b7af03566..dfe7fce421646e63d02c792f1f340fd775822026 100644 (file)
@@ -1,6 +1,9 @@
 # Django settings for ee project.
 
 from dbsettings import *
+import os
+
+PROJECT_DIR = os.path.dirname(__file__)
 
 DEBUG = True
 TEMPLATE_DEBUG = DEBUG
@@ -78,7 +81,7 @@ TEMPLATE_DIRS = (
     # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
     # Always use forward slashes, even on Windows.
     # Don't forget to use absolute paths, not relative paths.
-    '/home/matthijs/docs/src/django/ee/templates',
+    os.path.join(PROJECT_DIR, 'templates'),
 )
 
 INSTALLED_APPS = (
@@ -110,3 +113,6 @@ AUTHENTICATION_BACKENDS = (
     'ee.auth.PhpBBBackend',
     'django.contrib.auth.backends.ModelBackend',
 )
+
+AUTH_PROFILE_MODULE = 'base.UserProfile'
+# vim: set sts=4 sw=4 expandtab: