Skip to content

Instantly share code, notes, and snippets.

@kaustavdm
Created October 7, 2013 18:51
Show Gist options
  • Save kaustavdm/6872978 to your computer and use it in GitHub Desktop.
Save kaustavdm/6872978 to your computer and use it in GitHub Desktop.
Settings sample for Kuma
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