Permalink
Browse files

Made sure that SECRET_KEY is str, not unicode.

  • Loading branch information...
1 parent 356647d commit 4903728117a7e6d095b3c1e6ddbae2d4ccc9275f @jacobian jacobian committed Jun 29, 2011
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'),)

0 comments on commit 4903728

Please sign in to comment.