summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulie Pichon <jpichon@redhat.com>2014-06-19 17:13:29 +0100
committerJulie Pichon <jpichon@redhat.com>2014-06-19 17:36:17 +0100
commit345ccc9d503e6e55fe46d7813958c0081cc1cffe (patch)
tree754064c6bc124058c7bf7d0f922659d8cf1e6844
parentd174539cc05f34981ade046ff90b4327c5cd7927 (diff)
downloadhorizon-345ccc9d503e6e55fe46d7813958c0081cc1cffe.tar.gz
Fix issues with importing the Login form
The Login form lives in openstack_auth.forms and should be directly imported from that file. Change-Id: I42808530024bebb01604adbf4828769812856bf3 Closes-Bug: #1332149
-rw-r--r--openstack_dashboard/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstack_dashboard/views.py b/openstack_dashboard/views.py
index b47626cbb..06eb2d79a 100644
--- a/openstack_dashboard/views.py
+++ b/openstack_dashboard/views.py
@@ -18,7 +18,7 @@ from django.views.decorators import vary
import horizon
from horizon import base
-from openstack_auth import views
+from openstack_auth import forms
def get_user_home(user):
@@ -39,7 +39,7 @@ def get_user_home(user):
def splash(request):
if request.user.is_authenticated():
return shortcuts.redirect(horizon.get_user_home(request.user))
- form = views.Login(request)
+ form = forms.Login(request)
request.session.clear()
request.session.set_test_cookie()
return shortcuts.render(request, 'splash.html', {'form': form})