We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e2262fb + 1e49d5d commit 0e82bd6Copy full SHA for 0e82bd6
firefly/local_settings.py.example
@@ -1,6 +1,12 @@
1
# coding=utf-8
2
+from firefly.six import unicode
3
-SECRET_KEY = '\x97\xfa%\xab\xd2\xc2\xf8\xfc\xef\xaeTKDk\xc0\xe1//($\xc7\xc0'
4
+
5
+_secret_key = '\x97\xfa%\xab\xd2\xc2\xf8\xfc\xef\xaeTKDk\xc0\xe1//($\xc7\xc0'
6
+if isinstance(_secret_key, unicode):
7
+ SECRET_KEY = _secret_key
8
+else:
9
+ SECRET_KEY = unicode(_secret_key)
10
11
# mongodb
12
MONGODB_SETTINGS = {
0 commit comments