diff options
Diffstat (limited to 'local_settings.py~')
-rw-r--r-- | local_settings.py~ | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/local_settings.py~ b/local_settings.py~ new file mode 100644 index 00000000..7441ea8c --- /dev/null +++ b/local_settings.py~ @@ -0,0 +1,40 @@ +### Django settings for archlinux project. + +## Debug settings +DEBUG = False + +## Notification admins +ADMINS = ( + # ('Joe Admin', 'joeadmin@example.com'), + ('Nicolas Reynolds', 'fauno@kiwwwi.com.ar'), + ('Konstantinos Karantias', 'kostis@gtklocker.com'), +) + +## Postgresql Database Settings +DATABASE_ENGINE = 'postgresql_psycopg2' +DATABASE_NAME = 'parabolitsa' +DATABASE_USER = 'parabolaweb' +DATABASE_PASSWORD = 'prbl16' +DATABASE_HOST = '' +DATABASE_PORT = '' + +## Define cache middleware settings +CACHE_BACKEND = 'memcached://127.0.0.1:11211' +CACHE_MIDDLEWARE_SECONDS = 900 +CACHE_MIDDLEWARE_KEY_PREFIX = 'arch' + +## location for saving dev pictures +MEDIA_ROOT = '/srv/http/web/media/' + +## web url for serving image files +MEDIA_URL = 'http://parabola.kiwwwi.com.ar:8090/media/' + +## Make this unique, and don't share it with anybody. +SECRET_KEY = '' + +#dummy cache +if DEBUG: + CACHE_BACKEND = 'dummy:///' + +# vim: set ts=4 sw=4 et: + |