Move the settings to work.
author |
Steve Losh <steve@stevelosh.com> |
date |
Fri, 11 Dec 2009 22:22:27 -0500 |
parents |
4454e6123e62
|
children |
87dafa5e8959
|
branches/tags |
(none) |
files |
settings.py |
Changes
--- a/settings.py Fri Dec 11 22:20:29 2009 -0500
+++ b/settings.py Fri Dec 11 22:22:27 2009 -0500
@@ -19,11 +19,6 @@
DATABASE_HOST = deploy.DATABASE_HOST
DATABASE_PORT = deploy.DATABASE_PORT
-
-# django-simplebackup settings
-BACKUP_DIRECTORY = os.path.join(BASE_DIR, 'backup')
-BACKUP_EXCLUDE = ['admin', 'sessions']
-
# Local time zone for this installation. Choices can be found here:
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
# although not all choices may be available on all operating systems.
@@ -44,6 +39,10 @@
# Base directory.
BASE_DIR = os.path.dirname(__file__)
+# django-simplebackup settings
+BACKUP_DIRECTORY = os.path.join(BASE_DIR, 'backup')
+BACKUP_EXCLUDE = ['admin', 'sessions']
+
# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT = os.path.join(BASE_DIR, 'site-media/')