Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This is an example settings_local.py file.
- # Copy it and add your local settings here.
- import os
- if os.environ.get('DJANGO_SITE') == 'ignite':
- from settings_ignite import *
- else:
- from settings import *
- APP_NAME = "Mozilla Ignite (local build)"
- DATABASES = {
- 'default': {
- 'ENGINE': 'django.db.backends.mysql',
- 'NAME': 'ignite_migrate',
- 'USER': 'root',
- 'PASSWORD': 'cheesef1ngers',
- 'HOST': '',
- 'PORT': '',
- 'OPTIONS': {
- 'init_command': 'SET storage_engine=InnoDB',
- 'charset' : 'utf8',
- 'use_unicode' : True,
- },
- 'TEST_CHARSET': 'utf8',
- 'TEST_COLLATION': 'utf8_general_ci',
- },
- }
- ADMINS = (
- # ('Your Name', 'your_email@domain.com'),
- )
- MANAGERS = ADMINS
- HMAC_KEYS = {
- '2011-10-20':'tittybiscuits',
- }
- DEBUG = TEMPLATE_DEBUG = True
- DEBUG_TOOLBAR_CONFIG = {
- 'INTERCEPT_REDIRECTS': False,
- }
- INSTALLED_APPS += (
- 'debug_toolbar',
- )
- MIDDLEWARE_CLASSES += (
- 'debug_toolbar.middleware.DebugToolbarMiddleware',
- )
- class TheInternet(object):
- def __contains__(self, ip):
- return True
- INTERNAL_IPS = TheInternet()
Add Comment
Please, Sign In to add comment