Skip to content
Snippets Groups Projects
Commit f527f088 authored by Branson Craig Stephens's avatar Branson Craig Stephens
Browse files

Removing passwords from git repo.

parent 4c20141c
No related branches found
No related tags found
No related merge requests found
......@@ -8,3 +8,4 @@ static/rest_framework/
static/debug_toolbar/
doc/build/*
doc/build/.buildinfo
settings/settings_secret.py
from settings_secret import *
# Suitable for production
ALLOWED_HOSTS = ['*']
......@@ -114,7 +115,7 @@ DATABASES = {
'NAME' : 'gracedb',
'ENGINE' : 'django.db.backends.mysql',
'USER' : 'gracedb',
'PASSWORD' : 'thinglet',
'PASSWORD' : DEFAULT_DB_PASSWORD,
'OPTIONS' : {
'init_command': 'SET storage_engine=MyISAM',
},
......@@ -238,7 +239,7 @@ USE_I18N = False
ADMIN_MEDIA_PREFIX = '/media/'
# Make this unique, and don't share it with anybody.
SECRET_KEY = '$$&hl%^_4&s0k7sbdr8ll_^gkz-j8oab0tz$t^^b-%$!83d(av'
SECRET_KEY = DEFAULT_SECRET_KEY
# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
......
from settings_secret import *
CONFIG_NAME = "Test"
DEBUG = True
......@@ -9,7 +11,7 @@ DATABASES = {
'NAME' : 'gracedb',
'ENGINE' : 'django.db.backends.mysql',
'USER' : 'gracedb',
'PASSWORD' : 'thinglet',
'PASSWORD' : TEST_DB_PASSWORD,
'OPTIONS' : {
'init_command' : 'SET storage_engine=MYISAM',
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment