From ee2771ab1a855342089abe5206fc6a5071a6d99e Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Fri, 11 Sep 2015 16:16:44 +1000 Subject: [PATCH] Use the User model from d-o-a This patch moves us to explicitly using the replacement User model from django-openstack-auth. Change-Id: I558b9e0af3dd4c2029f1376cb9da08ef0bcc142e Closes-Bug: 1491117 Depends-On: I86030706cc5d188c1537094657e90565f2ad8c05 --- openstack_dashboard/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openstack_dashboard/settings.py b/openstack_dashboard/settings.py index 249e53a1b6..0392340f4f 100644 --- a/openstack_dashboard/settings.py +++ b/openstack_dashboard/settings.py @@ -172,6 +172,7 @@ INSTALLED_APPS = [ TEST_RUNNER = 'django_nose.NoseTestSuiteRunner' AUTHENTICATION_BACKENDS = ('openstack_auth.backend.KeystoneBackend',) AUTHENTICATION_URLS = ['openstack_auth.urls'] +AUTH_USER_MODEL = 'openstack_auth.User' MESSAGE_STORAGE = 'django.contrib.messages.storage.fallback.FallbackStorage' SESSION_ENGINE = 'django.contrib.sessions.backends.signed_cookies'