зеркало из https://github.com/mozilla/bedrock.git
Added commonware, used X-Frame-Options middleware.
This commit is contained in:
Родитель
a8e7be51ab
Коммит
678e6b0fc4
10
README.md
10
README.md
|
@ -48,6 +48,16 @@ Eventually you'll probably diverge enough that you'll want to delete the base
|
|||
branch.
|
||||
|
||||
|
||||
Features
|
||||
--------
|
||||
Quick and dirty feature list:
|
||||
|
||||
* Django
|
||||
* SHA-512 passwords
|
||||
* X-Frame-Options: DENY by default
|
||||
* Celery support
|
||||
|
||||
|
||||
License
|
||||
-------
|
||||
This software is licensed under the [New BSD License][BSD]. For more
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
-e git://github.com/django/django@36c82ac8#egg=django
|
||||
|
||||
# Various tidbits
|
||||
-e git://github.com/jsocol/commonware.git#egg=commonware
|
||||
|
||||
# Security
|
||||
-e git://github.com/fwenzel/django-sha2.git#egg=django-sha2
|
||||
|
||||
|
|
|
@ -85,6 +85,8 @@ MIDDLEWARE_CLASSES = (
|
|||
'django.middleware.csrf.CsrfViewMiddleware',
|
||||
'django.contrib.auth.middleware.AuthenticationMiddleware',
|
||||
'django.contrib.messages.middleware.MessageMiddleware',
|
||||
|
||||
'commonware.middleware.FrameOptionsHeader',
|
||||
)
|
||||
|
||||
ROOT_URLCONF = '%s.urls' % ROOT_PACKAGE
|
||||
|
|
2
vendor
2
vendor
|
@ -1 +1 @@
|
|||
Subproject commit 3d8c9c888a948b46fd03655eca5e6d89655a5c34
|
||||
Subproject commit bf1d0c3c7ed35fe7530a38196fdf2303e8454018
|
Загрузка…
Ссылка в новой задаче