Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
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/www.py
View
2  django_website/settings/www.py
@@ -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','holovaty@gmail.com'),('Jacob Kaplan-Moss', 'jacob@jacobian.org'))
MANAGERS = (('Jacob Kaplan-Moss','jacob@jacobian.org'),)
Please sign in to comment.
Something went wrong with that request. Please try again.