Permalink
Browse files

bustage fix for local test settings

  • Loading branch information...
1 parent 7d2e71d commit 0f7729321fe27519a2196771cd8529c2774db092 @peterbe peterbe committed Jun 14, 2012
Showing with 15 additions and 1 deletion.
  1. +1 −1 pto/settings/local.py-dist
  2. +14 −0 scripts/build.sh
@@ -36,7 +36,7 @@ DATABASES = {
#}
HMAC_KEYS = {
- #'2012-06-06': 'some secret',
+ '2012-06-14': 'some secrety',
}
from django_sha2 import get_password_hashers
PASSWORD_HASHERS = get_password_hashers(base.BASE_PASSWORD_HASHERS, HMAC_KEYS)
View
@@ -33,6 +33,20 @@ DATABASES = {
},
}
SECRET_KEY = 'somethingaslongasitsnotblank'
+
+HMAC_KEYS = {
+ #'2012-06-06': 'some secret',
+}
+from django_sha2 import get_password_hashers
+hashers = (#'django_sha2.hashers.BcryptHMACCombinedPasswordVerifier',
+ #'django_sha2.hashers.SHA512PasswordHasher',
+ #'django_sha2.hashers.SHA256PasswordHasher',
+ 'django.contrib.auth.hashers.SHA1PasswordHasher',
+ 'django.contrib.auth.hashers.MD5PasswordHasher',
+ 'django.contrib.auth.hashers.UnsaltedMD5PasswordHasher'
+)
+PASSWORD_HASHERS = get_password_hashers(hashers, HMAC_KEYS)
+
" > pto/settings/local.py
## install dependencies

0 comments on commit 0f77293

Please sign in to comment.