Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Made sure that SECRET_KEY is str, not unicode.

  • Loading branch information...
commit 4903728117a7e6d095b3c1e6ddbae2d4ccc9275f 1 parent 356647d
@jacobian jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django_website/settings/
2  django_website/settings/
@@ -12,7 +12,7 @@
PRODUCTION = ('DJANGOPROJECT_DEBUG' not in os.environ) and ("djangoproject" in platform.node())
# It's a secret to everybody
-SECRET_KEY = json.load(open(BASE.ancestor(2).child('secrets.json')))['secret_key']
+SECRET_KEY = str(json.load(open(BASE.ancestor(2).child('secrets.json')))['secret_key'])
ADMINS = (('Adrian Holovaty',''),('Jacob Kaplan-Moss', ''))
MANAGERS = (('Jacob Kaplan-Moss',''),)
Please sign in to comment.
Something went wrong with that request. Please try again.