Created
October 7, 2013 18:51
-
-
Save kaustavdm/6872978 to your computer and use it in GitHub Desktop.
Settings sample for Kuma
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from settings import * | |
DATABASES = { | |
'default': { | |
'NAME': 'kuma', | |
'ENGINE': 'django.db.backends.mysql', | |
'HOST': 'localhost', | |
'USER': 'kuma', | |
'PASSWORD': '', | |
'OPTIONS': {'init_command': 'SET storage_engine=InnoDB'}, | |
'TEST_CHARSET': 'utf8', | |
'TEST_COLLATION': 'utf8_unicode_ci', | |
}, | |
} | |
DEBUG = True | |
TEMPLATE_DEBUG = DEBUG | |
SERVE_MEDIA = True | |
SITE_URL = 'http://localhost:8000' | |
PROTOCOL = 'http://' | |
DOMAIN = 'localhost' | |
PORT = 8000 | |
SESSION_COOKIE_SECURE = False # needed if the server is running on http:// | |
SESSION_EXPIRE_AT_BROWSER_CLOSE = False | |
CSRF_COOKIE_SECURE = False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment