From ba9772427ac0534e3599f2f09f3e843213639574 Mon Sep 17 00:00:00 2001 From: Guinsly Mondesir Date: Wed, 15 Jun 2016 17:49:24 -0400 Subject: [PATCH] removing .local --- dpaste/settings/base.py | 5 ++--- dpaste/settings/local.py.example | 22 ---------------------- 2 files changed, 2 insertions(+), 25 deletions(-) delete mode 100644 dpaste/settings/local.py.example diff --git a/dpaste/settings/base.py b/dpaste/settings/base.py index e3bb6ab..43e1998 100644 --- a/dpaste/settings/base.py +++ b/dpaste/settings/base.py @@ -1,4 +1,3 @@ - # Import global settings to make it easier to extend settings. from django.conf.global_settings import * @@ -33,7 +32,7 @@ TIME_ZONE = 'UTC' SITE_ID = 1 # Make this unique, and don't share it with anybody. -SECRET_KEY = 'sdkjf;lajdfjwjerjqwe' +SECRET_KEY = '' ALLOWED_HOSTS = ( 'dpaste.de', @@ -43,7 +42,7 @@ ALLOWED_HOSTS = ( '127.0.0.1', ) -SECRET_KEY = 'sdkjf;lajdfjwjerjqwe' +SECRET_KEY = 'CHANGE_ME' #============================================================================== # I18N diff --git a/dpaste/settings/local.py.example b/dpaste/settings/local.py.example deleted file mode 100644 index b9e789a..0000000 --- a/dpaste/settings/local.py.example +++ /dev/null @@ -1,22 +0,0 @@ -from dpaste.settings.base import * - -DEBUG = True -TEMPLATE_DEBUG = DEBUG - -ADMINS = ( - #('Your Name', 'name@example.com'), -) -MANAGERS = ADMINS - -DATABASES = { - 'default': { - 'ENGINE': 'django.db.backends.mysql', - 'NAME': 'dpaste', - 'USER': 'root', - 'PASSWORD': '', - } -} - -SECRET_KEY = 'changeme' - -EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'