Skip to content
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...
1 parent 2967456 commit 453393731980fdc448401f8021d64a17cf65ec64 @jacobian jacobian committed
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.parent.child('secrets.json')))['secret_key']
+SECRET_KEY = json.load(open(BASE.ancestor(2).child('secrets.json')))['secret_key']
ADMINS = (('Adrian Holovaty',''),('Jacob Kaplan-Moss', ''))
MANAGERS = (('Jacob Kaplan-Moss',''),)

0 comments on commit 4533937

Please sign in to comment.
Something went wrong with that request. Please try again.