Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added basic auth to the demo.

  • Loading branch information...
commit 1cadc45e45e129c111dd832956deed6df0883744 1 parent 7d24725
@alexsdutton alexsdutton authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  openorg_timeseries/demo/settings.py
View
2  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'
Please sign in to comment.
Something went wrong with that request. Please try again.