Time to move to local_settings

This commit is contained in:
Samuel Clay 2010-04-05 00:47:21 -04:00
parent 7d51db1226
commit 18031c40cd
2 changed files with 9 additions and 24 deletions

1
.gitignore vendored
View file

@ -2,3 +2,4 @@ logs/*.log
*.pycmedia/release/
*.pyc
media/release/*
local_settings.py

View file

@ -94,30 +94,6 @@ elif STAGING:
format='%(asctime)s %(levelname)s %(message)s',
filename=LOG_FILE,
filemode='w')
elif DEV_SERVER1:
DATABASES = {
'default': {
'NAME': 'newsblur',
'ENGINE': 'django.db.backends.mysql',
'USER': 'newsblur',
'PASSWORD': '',
'HOST': '127.0.0.1',
}
}
DATABASE_HOST = 'localhost'
DATABASE_PORT = ''
# Absolute path to the directory that holds media.
# Example: "/Users/media/media.lawrence.com/"
MEDIA_URL = '/media/'
DEBUG = True
# CACHE_BACKEND = 'locmem:///'
# CACHE_BACKEND = 'memcached://127.0.0.1:11211'
CACHE_BACKEND = 'dummy:///'
logging.basicConfig(level=logging.DEBUG,
format='%(asctime)s %(levelname)s %(message)s',
filename=LOG_FILE,
filemode='w')
elif DEV_SERVER2:
DATABASES = {
'default': {
@ -291,3 +267,11 @@ DEVSERVER_MODULES = (
'devserver.modules.profile.MemoryUseModule',
'devserver.modules.cache.CacheSummaryModule',
)
# ==================
# = Configurations =
# ==================
from local_settings import *
COMPRESS = not DEBUG