diff options
author | Tom Willemsen | 2012-05-21 22:34:50 +0200 |
---|---|---|
committer | Tom Willemsen | 2012-05-21 22:34:50 +0200 |
commit | 8a1c3a615d9466399c252bd789e9bd5cfd5533fb (patch) | |
tree | 2698ee8ac61acc2f21bf3daf2ad8b516f935563c /settings.py | |
parent | 44cdd17a88595e16a9fd43f55e9dac38a0047e6b (diff) | |
download | ryuslash.org-8a1c3a615d9466399c252bd789e9bd5cfd5533fb.tar.gz ryuslash.org-8a1c3a615d9466399c252bd789e9bd5cfd5533fb.zip |
Move changeable settings to seperate file
Diffstat (limited to 'settings.py')
-rw-r--r-- | settings.py | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/settings.py b/settings.py index 1b70f09..75de1a9 100644 --- a/settings.py +++ b/settings.py @@ -1,40 +1,8 @@ # Django settings for ryuslash_org project. -import os -import sys - -DEPLOY_PATH = os.path.dirname(os.path.abspath(__file__)) -sys.path.insert(0, DEPLOY_PATH) -sys.path.insert(0, "/home/ryuslash/.python/lib/python2.6/site-packages/South-0.7.3-py2.6.egg") - -DEBUG = True -TEMPLATE_DEBUG = DEBUG - -ADMINS = ( - # ('Your Name', 'your_email@example.com'), -) +from local_settings import * MANAGERS = ADMINS -DATABASES = { - 'default': { - 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. - 'NAME': 'test.sqlite', # Or path to database file if using sqlite3. - 'USER': '', # Not used with sqlite3. - 'PASSWORD': '', # Not used with sqlite3. - 'HOST': '', # Set to empty string for localhost. Not used with sqlite3. - 'PORT': '', # Set to empty string for default. Not used with sqlite3. - } -} - -# 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. -# On Unix systems, a value of None will cause Django to use the same -# timezone as the operating system. -# If running in a Windows environment this must be set to the same as your -# system time zone. -TIME_ZONE = 'Europe/Brussels' - # Language code for this installation. All choices can be found here: # http://www.i18nguy.com/unicode/language-identifiers.html LANGUAGE_CODE = 'en-us' @@ -84,9 +52,6 @@ STATICFILES_FINDERS = ( # 'django.contrib.staticfiles.finders.DefaultStorageFinder', ) -# Make this unique, and don't share it with anybody. -SECRET_KEY = 'f3ga_iu$h^-+$xg)r2rnbiocn4qx+c(c3!9_k=!a9#)g9o5*#=' - # List of callables that know how to import templates from various sources. TEMPLATE_LOADERS = ( 'django.template.loaders.filesystem.Loader', |