Skip to content

Commit

Permalink
Move SECRET_KEY to local_settings files
Browse files Browse the repository at this point in the history
  • Loading branch information
Iulia Chiriac committed Apr 24, 2017
1 parent 35ae33a commit c342076
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions gemet/local_settings.py.docker
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import os
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ['SECRET_KEY']

LOCAL_INSTALLED_APPS = (
# Use debug_toolbar in development for detailed debug info.
# 'debug_toolbar',
Expand Down
3 changes: 3 additions & 0 deletions gemet/local_settings.py.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# SECURITY WARNING: don't run with debug turned on in production!
# DEBUG = True

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'This is an example. Replace with actual secret key.'

LOCAL_INSTALLED_APPS = (
# Use debug_toolbar in development for detailed debug info.
# 'debug_toolbar',
Expand Down
3 changes: 0 additions & 3 deletions gemet/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(__file__))

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '*e59o%%4$uxue*-aqn58$adv!fu+%p&7rg3bp=k36blzn9#(4r'

ALLOWED_HOSTS = []


Expand Down

0 comments on commit c342076

Please sign in to comment.