evorepo/local_settings.py.example
Jelle van der Waa 235afa34bf
Switch to pymemcache
The MemcacheCache backend is deprecated in Django and the use of
PymemcacheCache or PyLibMCCache is recommended.
2021-09-12 11:51:50 +02:00

58 lines
1.3 KiB
Plaintext

# Debug settings
DEBUG = False
# DEBUG_TOOLBAR = True
# 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',
# 'NAME': 'archlinux',
# 'USER': 'archlinux',
# 'PASSWORD': 'archlinux',
# 'HOST': '',
# 'PORT': '',
# },
# }
# 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.PyMemcacheCache',
# 'LOCATION': '127.0.0.1:11211',
}
}
# Use secure session cookies? Make these 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
CSRF_COOKIE_SECURE = False
# location for saving dev pictures
MEDIA_ROOT = '/srv/example.com/img/'
# web url for serving image files
MEDIA_URL = '/media/img/'
# Make this unique, and don't share it with anybody.
SECRET_KEY = '00000000000000000000000000000000000000000000000'
# vim: set ts=4 sw=4 et: