daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Apr 23rd, 2018 110 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This is an example settings_local.py file.
  2. # Copy it and add your local settings here.
  3.  
  4. import os
  5.  
  6. if os.environ.get('DJANGO_SITE') == 'ignite':
  7.     from settings_ignite import *
  8. else:
  9.     from settings import *
  10.  
  11. APP_NAME = "Mozilla Ignite (local build)"
  12.  
  13. DATABASES = {
  14.     'default': {
  15.         'ENGINE': 'django.db.backends.mysql',
  16.         'NAME': 'ignite_migrate',
  17.         'USER': 'root',
  18.         'PASSWORD': 'cheesef1ngers',
  19.         'HOST': '',
  20.         'PORT': '',
  21.         'OPTIONS': {
  22.             'init_command': 'SET storage_engine=InnoDB',
  23.             'charset' : 'utf8',
  24.             'use_unicode' : True,
  25.         },
  26.         'TEST_CHARSET': 'utf8',
  27.         'TEST_COLLATION': 'utf8_general_ci',
  28.     },
  29. }
  30.  
  31. ADMINS = (
  32.     # ('Your Name', 'your_email@domain.com'),
  33. )
  34.  
  35. MANAGERS = ADMINS
  36.  
  37. HMAC_KEYS = {
  38.     '2011-10-20':'tittybiscuits',
  39. }
  40.  
  41. DEBUG = TEMPLATE_DEBUG = True
  42.  
  43. DEBUG_TOOLBAR_CONFIG = {
  44.     'INTERCEPT_REDIRECTS': False,
  45. }
  46.  
  47. INSTALLED_APPS += (
  48.     'debug_toolbar',
  49. )
  50.  
  51. MIDDLEWARE_CLASSES += (
  52.     'debug_toolbar.middleware.DebugToolbarMiddleware',
  53. )
  54.  
  55. class TheInternet(object):
  56.     def __contains__(self, ip):
  57.         return True
  58.  
  59. INTERNAL_IPS = TheInternet()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top