Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

No, no, *really* fixed the secrets.json location.

This, my friends, is why you really need a staging server. Do as I say, not
as I do.
  • Loading branch information...
commit 453393731980fdc448401f8021d64a17cf65ec64 1 parent 2967456
@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.parent.child('secrets.json')))['secret_key']
+SECRET_KEY = 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.