· 7 years ago · Jun 08, 2018, 09:10 AM
1import os
2DEBUG = True
3
4DATABASES = {
5 'default': {
6 'ENGINE': 'django.db.backends.postgresql_psycopg2',
7 'NAME': 'database',
8 'USER': 'user',
9 'PASSWORD': 'githubbedpassword',
10 'HOST': '127.0.0.1',
11 'PORT': '8458',
12 },
13 'extra': {
14 'ENGINE': 'django.db.backends.sqlite3',
15 'NAME': os.path.join(SITE_ROOT, 'database.sqlite')
16 }
17}
18
19SECRET_KEY = '...im incredibly still here...'
20
21CACHES = {
22 'default': {
23 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
24 'LOCATION': [
25 '127.0.0.1:11211'
26 ]
27 },
28 'redis': {
29 'BACKEND': 'django_redis.cache.RedisCache',
30 'LOCATION': '127.0.0.1:6379/1',
31 'OPTIONS': {
32 'CLIENT_CLASS': 'django_redis.client.DefaultClient',
33 'PASSWORD': 'redis-githubbed-password',
34 }
35 }
36}