Added commonware, used X-Frame-Options middleware.

This commit is contained in:
Fred Wenzel 2011-01-03 18:20:27 -08:00
Родитель a8e7be51ab
Коммит 678e6b0fc4
4 изменённых файлов: 16 добавлений и 1 удалений

Просмотреть файл

@ -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

@ -1 +1 @@
Subproject commit 3d8c9c888a948b46fd03655eca5e6d89655a5c34
Subproject commit bf1d0c3c7ed35fe7530a38196fdf2303e8454018