From 671eaf98c8bfe38db19867e29e5047973099b1cf Mon Sep 17 00:00:00 2001 From: adityacp Date: Fri, 16 Sep 2016 19:24:52 +0530 Subject: changed fixtures and views --- yaksh/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yaksh/views.py') 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), -- cgit