Permalink
Browse files

Updated the djangoapp config: added lizard-security, mostly.

  • Loading branch information...
1 parent bcacf2a commit 7e30b66236caba161ef8bc3a23b22e294214890d @reinout reinout committed Jun 19, 2012
View
@@ -5,6 +5,8 @@ Changelog for nensskel
1.23 (unreleased)
-----------------
+- Removed TODO.rst from all the templates. We don't actually use it.
+
- Added configuration for testing `on travis
<http://travis-ci.org/#!/lizardsystem/nensskel>`_.
@@ -46,6 +46,7 @@ INSTALLED_APPS = [
'compressor',
'south',
'django_nose',
+ 'lizard_security',
'django_extensions',
'django.contrib.admin',
'django.contrib.auth',
@@ -56,23 +57,21 @@ INSTALLED_APPS = [
]
ROOT_URLCONF = '${package}.urls'
-TEMPLATE_CONTEXT_PROCESSORS = (
- # Uncomment this one if you use lizard-map.
- # 'lizard_map.context_processors.processor.processor',
- # Default django 1.3 processors.
- "django.contrib.auth.context_processors.auth",
- "django.core.context_processors.debug",
- "django.core.context_processors.i18n",
- "django.core.context_processors.media",
- "django.core.context_processors.static",
- "django.contrib.messages.context_processors.messages"
+MIDDLEWARE_CLASSES = (
+ 'django.middleware.common.CommonMiddleware',
+ 'django.contrib.sessions.middleware.SessionMiddleware',
+ 'django.middleware.locale.LocaleMiddleware',
+ 'django.middleware.csrf.CsrfViewMiddleware',
+ 'django.contrib.auth.middleware.AuthenticationMiddleware',
+ 'django.contrib.messages.middleware.MessageMiddleware',
+ 'lizard_security.middleware.SecurityMiddleware',
+ 'tls.TLSRequestMiddleware',
)
TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
# Used for django-staticfiles (and for media files
STATIC_URL = '/static_media/'
-ADMIN_MEDIA_PREFIX = STATIC_URL + 'admin/'
MEDIA_URL = '/media/'
STATIC_ROOT = os.path.join(BUILDOUT_DIR, 'var', 'static')
MEDIA_ROOT = os.path.join(BUILDOUT_DIR, 'var', 'media')
@@ -32,8 +32,7 @@ ${project} =
[sources]
# Examples:
-# lizard-ui = git git@github.com:lizardsystem/nensskel.git
-# lizard-ui = svn https://office.nelen-schuurmans.nl/svn/Products/djangoapps/lizard-ui/trunk
+# lizard-ui = git git@github.com:lizardsystem/lizard-ui.git
[sysegg]
@@ -78,7 +77,6 @@ interpreter = python
eggs =
\${buildout:eggs}
# Development tools
- eazysvn
createcoverage
pep8
zest.releaser
@@ -12,7 +12,7 @@ install_requires = [
'Django',
'django-extensions',
'django-nose',
- 'lizard-ui >= 3.0',
+ 'lizard-ui >= 4.0b5',
'pkginfo',
],

0 comments on commit 7e30b66

Please sign in to comment.