Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed SECRET_KEY to actually be secret.

  • Loading branch information...
commit fe375d6a5f79662166e66a27425cd8b430b170b9 1 parent 07ee7c1
@jacobian jacobian authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 django_website/settings/
4 django_website/settings/
@@ -1,6 +1,7 @@
# Settings for
import os
+import json
import platform
from unipath import FSPath as Path
@@ -10,6 +11,9 @@
# Far too clever trick to know if we're running on the deployment server.
PRODUCTION = ('DJANGOPROJECT_DEBUG' not in os.environ) and ("djangoproject" in platform.node())
+# It's a secret to everybody
+SECRET_KEY = json.load(open(BASE.child('secrets.json')))['secret_key']
ADMINS = (('Adrian Holovaty',''),('Jacob Kaplan-Moss', ''))
MANAGERS = (('Jacob Kaplan-Moss',''),)
TIME_ZONE = 'America/Chicago'
Please sign in to comment.
Something went wrong with that request. Please try again.