don't show courses/create new course if account has not been activated. Also better error messaging on failed logins. Also redirect to index after signup.

This commit is contained in:
Chris Dodge
2012-10-15 10:48:01 -04:00
parent 1b4f569c08
commit 2aee549a76
4 changed files with 16 additions and 4 deletions

View File

@@ -118,7 +118,8 @@ def index(request):
course.location.org,
course.location.course,
course.location.name]))
for course in courses]
for course in courses],
'user': request.user
})