summaryrefslogtreecommitdiff
path: root/yaksh/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/views.py')
-rw-r--r--yaksh/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/views.py b/yaksh/views.py
index a9e17ab..95e4b7d 100644
--- a/yaksh/views.py
+++ b/yaksh/views.py
@@ -669,7 +669,7 @@ def courses(request):
if not is_moderator(user):
raise Http404('You are not allowed to view this page')
try:
- demo_user = User.objects.get(username="demo_user")
+ demo_user = User.objects.get(username="yaksh_demo_user")
except User.DoesNotExist:
demo_user = None
courses = Course.objects.filter(Q(creator=user) | Q(creator=demo_user),