1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- ## Debug settings
- DEBUG = False # If you are running without another HTTP server, must be true
- DEBUG_TOOLBAR = False # Must install package django-debug-toolbar to use
- ## For django debug toolbar
- INTERNAL_IPS = ('127.0.0.1',)
- ## Notification admins
- ADMINS = (
- # ('Joe Admin', 'joeadmin@example.com'),
- )
- ## PostgreSQL Database settings
- #DATABASES = {
- # 'default': {
- # 'ENGINE' : 'django.db.backends.postgresql_psycopg2',
- # 'NAME' : 'parabola',
- # 'USER' : 'parabola',
- # 'PASSWORD': 'parabola',
- # 'HOST' : '',
- # 'PORT' : '',
- # },
- #}
- ## MySQL Database settings
- #DATABASES = {
- # 'default': {
- # 'ENGINE' : 'django.db.backends.mysql',
- # 'NAME' : 'parabola',
- # 'USER' : 'parabola',
- # 'PASSWORD': 'parabola',
- # 'HOST' : '',
- # 'PORT' : '',
- # # InnoDB WILL NOT work
- # 'OPTIONS' : {'init_command': 'SET storage_engine=MyISAM'},
- # },
- #}
- ## Sqlite Database settings
- DATABASES = {
- 'default': {
- 'ENGINE' : 'django.db.backends.sqlite3',
- 'NAME' : 'database.db',
- },
- }
- ## Define cache settings
- CACHES = {
- 'default': {
- 'BACKEND' : 'django.core.cache.backends.dummy.DummyCache',
- #'BACKEND' : 'django.core.cache.backends.memcached.MemcachedCache',
- #'LOCATION': '127.0.0.1:11211',
- }
- }
- ## Use secure session cookies? Make this true if you want all
- ## logged-in actions to take place over HTTPS only. If developing
- ## locally, you will want to use False.
- SESSION_COOKIE_SECURE = False
- ## location for saving dev pictures (the 'devs' folder should be inside of this)
- MEDIA_ROOT = '/srv/http/web-uploads'
- ## web url for serving image files (the 'devs' folder should be inside of this)
- MEDIA_URL = '/img/'
- ## Make this unique, and don't share it with anybody.
- SECRET_KEY = '00000000000000000000000000000000000000000000000'
- ## CDN settings
- CDN_ENABLED = False
- # vim: set ts=4 sw=4 et:
|