summaryrefslogtreecommitdiff
path: root/local_settings.py.example
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2012-11-14 11:43:23 -0800
committerParabola <dev@list.parabolagnulinux.org>2012-11-14 11:43:23 -0800
commite92a9065c99e4ab1c8b98521f77a1ddd0e0dad9a (patch)
treee139885c6eaa15762978512883a128e1f464cee3 /local_settings.py.example
parent71d83211a7ff02aa4b2dd1cefc6e699d0aaf3460 (diff)
Move the uploads folder to another directory (outside of this repo)parabolaweb-2012-11-14
Diffstat (limited to 'local_settings.py.example')
-rw-r--r--local_settings.py.example18
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'