зеркало из https://github.com/mozilla/bedrock.git
Use SHA-512 by default.
This commit is contained in:
Родитель
f1445eaa32
Коммит
a8e7be51ab
|
@ -1,7 +1,7 @@
|
|||
-e git://github.com/django/django@36c82ac8#egg=django
|
||||
|
||||
# Security
|
||||
-e git://github.com/fwenzel/django-sha256.git#egg=django-sha256
|
||||
-e git://github.com/fwenzel/django-sha2.git#egg=django-sha2
|
||||
|
||||
# Celery: Message queue
|
||||
celery
|
||||
|
|
|
@ -92,7 +92,7 @@ ROOT_URLCONF = '%s.urls' % ROOT_PACKAGE
|
|||
INSTALLED_APPS = (
|
||||
'djcelery',
|
||||
'django.contrib.auth',
|
||||
'django_sha256', # Load after auth to monkey-patch it.
|
||||
'django_sha2', # Load after auth to monkey-patch it.
|
||||
'django.contrib.contenttypes',
|
||||
|
||||
# 'django.contrib.sessions',
|
||||
|
@ -104,7 +104,7 @@ INSTALLED_APPS = (
|
|||
# 'django.contrib.admindocs',
|
||||
)
|
||||
|
||||
AUTHENTICATION_BACKENDS = ('django_sha256.auth.Sha256Backend',)
|
||||
AUTHENTICATION_BACKENDS = ('django_sha2.auth.Sha512Backend',)
|
||||
|
||||
## Celery
|
||||
BROKER_HOST = 'localhost'
|
||||
|
|
2
vendor
2
vendor
|
@ -1 +1 @@
|
|||
Subproject commit a787e0db2bdbda4ae6977db3432b8546aa6bc519
|
||||
Subproject commit 3d8c9c888a948b46fd03655eca5e6d89655a5c34
|
Загрузка…
Ссылка в новой задаче