Skip to content

Instantly share code, notes, and snippets.

@fitoria
Created November 20, 2011 23:04
Show Gist options
  • Save fitoria/1381110 to your computer and use it in GitHub Desktop.
Save fitoria/1381110 to your computer and use it in GitHub Desktop.
settings_local.py
import os
PROJECT_DIR = os.path.dirname(__file__)
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = (
# ('Your Name', 'your_email@example.com'),
)
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
'NAME': '', # Or path to database file if using sqlite3.
'USER': '', # 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.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment