Permalink
Browse files

Added basic auth to the demo.

  • Loading branch information...
1 parent 7d24725 commit 1cadc45e45e129c111dd832956deed6df0883744 @alexsdutton alexsdutton committed Jan 15, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 openorg_timeseries/demo/settings.py
@@ -17,6 +17,7 @@
'django.contrib.sessions',
'django.contrib.staticfiles',
'django.contrib.messages',
+ 'django_conneg',
'openorg_timeseries',
'object_permissions',
)
@@ -27,6 +28,7 @@
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
+ 'django_conneg.support.middleware.BasicAuthMiddleware',
)
ROOT_URLCONF = 'openorg_timeseries.demo.urls'

0 comments on commit 1cadc45

Please sign in to comment.