X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=settings.py;h=dfe7fce421646e63d02c792f1f340fd775822026;hb=d7ec83278b295b76ba2694e01b99b2c79e846611;hp=9805d75b1607730f5ff19aa51323568b7af03566;hpb=50ca740ab12e8a9f7dd9b14ae4bb5280f1383d45;p=matthijs%2Fprojects%2Fxerxes.git diff --git a/settings.py b/settings.py index 9805d75..dfe7fce 100644 --- a/settings.py +++ b/settings.py @@ -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: