/
local.py
25 lines (22 loc) · 916 Bytes
/
local.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from __future__ import absolute_import
from .base import *
# Configure these however you like for local development.
# Don't forget to configure a database!
DEBUG=True
TEMPLATE_DEBUG=DEBUG
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'playthings', # Or path to database file if using sqlite3.
'USER': 'root', # Not used with sqlite3.
'PASSWORD': '', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
'PORT': '', # Set to empty string for default. Not used with sqlite3.
}
}#
# CACHES = {
# 'default': {
# 'BACKEND': 'redis_cache.RedisCache',
# 'LOCATION': 'localhost:6379',
# },
# }