diff options
Diffstat (limited to 'local_settings.py.example')
-rw-r--r-- | local_settings.py.example | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/local_settings.py.example b/local_settings.py.example index 366af0a5..5316d67c 100644 --- a/local_settings.py.example +++ b/local_settings.py.example @@ -13,30 +13,30 @@ ADMINS = ( # ('Joe Admin', 'joeadmin@example.com'), ) -## MySQL Database settings +## PostgreSQL Database settings DATABASES = { 'default': { - 'ENGINE' : 'django.db.backends.mysql', + 'ENGINE' : 'django.db.backends.postgresql_psycopg2', 'NAME' : 'parabola', 'USER' : 'parabola', 'PASSWORD': 'parabola', 'HOST' : '', 'PORT' : '', - # InnoDB WILL NOT work - 'OPTIONS' : {'init_command': 'SET storage_engine=MyISAM'}, + 'OPTIONS' : {}, }, } -## PostgreSQL Database settings +## MySQL Database settings #DATABASES = { # 'default': { -# 'ENGINE' : 'django.db.backends.postgresql_psycopg2', +# 'ENGINE' : 'django.db.backends.mysql', # 'NAME' : 'parabola', # 'USER' : 'parabola', # 'PASSWORD': 'parabola', # 'HOST' : '', # 'PORT' : '', -# 'OPTIONS' : {}, +# # InnoDB WILL NOT work +# 'OPTIONS' : {'init_command': 'SET storage_engine=MyISAM'}, # }, #} @@ -65,10 +65,10 @@ CACHE_MIDDLEWARE_SECONDS = 300 SESSION_COOKIE_SECURE = False ## location for saving dev pictures (the 'devs' folder should be inside of this) -MEDIA_ROOT = '/srv/http/web/collected_static' +MEDIA_ROOT = '/srv/http/web-uploads' ## web url for serving image files (the 'devs' folder should be inside of this) -MEDIA_URL = '/static/' +MEDIA_URL = '/img/' ## Make this unique, and don't share it with anybody. SECRET_KEY = '00000000000000000000000000000000000000000000000' |