Website Module / Working login & logout

This commit is contained in:
Martin Bauer
2013-06-15 21:50:12 +02:00
parent 67822f39c4
commit 111fce5d91
197 changed files with 12038 additions and 126 deletions

View File

@@ -54,4 +54,6 @@
</div><!--/row-->
</div><!--/fluid-row-->
</div><!--/.fluid-container-->
{% endblock %}

View File

@@ -4,6 +4,8 @@ from django.shortcuts import render
from django.contrib.auth import authenticate, login
from django.shortcuts import redirect
def login_site(request):
return render( request, 'intern_area/login.html')
@@ -32,5 +34,4 @@ def login_site2(request):
pass
# Return an 'invalid login' error message.
else:
return render( request, 'intern_area/login.html')
return render( request, 'intern_area/login.html')