diff options
Diffstat (limited to 'snakeplan/settings.py')
-rw-r--r-- | snakeplan/settings.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/snakeplan/settings.py b/snakeplan/settings.py index 69b177c..c735997 100644 --- a/snakeplan/settings.py +++ b/snakeplan/settings.py | |||
@@ -44,13 +44,13 @@ USE_I18N = False | |||
44 | 44 | ||
45 | # Absolute path to the directory that holds media. | 45 | # Absolute path to the directory that holds media. |
46 | # Example: "/home/media/media.lawrence.com/" | 46 | # Example: "/home/media/media.lawrence.com/" |
47 | MEDIA_ROOT = '' | 47 | MEDIA_ROOT = os.path.join(PROJECT_DIR, 'templates/media') |
48 | 48 | ||
49 | # URL that handles the media served from MEDIA_ROOT. Make sure to use a | 49 | # URL that handles the media served from MEDIA_ROOT. Make sure to use a |
50 | # trailing slash if there is a path component (optional in other cases). | 50 | # trailing slash if there is a path component (optional in other cases). |
51 | # Examples: "http://media.lawrence.com", "http://example.com/media/" | 51 | # Examples: "http://media.lawrence.com", "http://example.com/media/" |
52 | MEDIA_URL = '' | 52 | MEDIA_URL = '/media' |
53 | ADMIN_MEDIA_PREFIX = '/media/' | 53 | ADMIN_MEDIA_PREFIX = MEDIA_URL + 'admin/' |
54 | 54 | ||
55 | SECRET_KEY = 'ow28jyl#0h8+^3$-!*%o-qfj5#zyr@xz+%vn_a3iizhn%l-3_=' | 55 | SECRET_KEY = 'ow28jyl#0h8+^3$-!*%o-qfj5#zyr@xz+%vn_a3iizhn%l-3_=' |
56 | 56 | ||
@@ -78,4 +78,7 @@ INSTALLED_APPS = ( | |||
78 | 'django.contrib.sites', | 78 | 'django.contrib.sites', |
79 | 'django.contrib.admin', | 79 | 'django.contrib.admin', |
80 | 'snakeplan.projects', | 80 | 'snakeplan.projects', |
81 | 'snakeplan.accounts', | ||
81 | ) | 82 | ) |
83 | |||
84 | AUTH_PROFILE_MODULE = 'snakeplan.accounts.UserProfile' | ||