Skip to content

Instantly share code, notes, and snippets.

@ikirigin
Created March 13, 2014 21:11
Show Gist options
  • Save ikirigin/9537070 to your computer and use it in GitHub Desktop.
Save ikirigin/9537070 to your computer and use it in GitHub Desktop.
"""
Local settings file
"""
import os
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
# Database
# https://docs.djangoproject.com/en/1.6/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
DEBUG = True
TEMPLATE_DEBUG = True
using_local_settings = True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment