diff options
author | adityacp | 2016-09-16 19:24:52 +0530 |
---|---|---|
committer | adityacp | 2016-09-16 19:24:52 +0530 |
commit | 671eaf98c8bfe38db19867e29e5047973099b1cf (patch) | |
tree | 4cd61e31d3a5bee043c40eeceed7f98b57f38ebd /yaksh/views.py | |
parent | b5f4917eac3d6d308479f94346262d5ce9cf78f3 (diff) | |
download | online_test-671eaf98c8bfe38db19867e29e5047973099b1cf.tar.gz online_test-671eaf98c8bfe38db19867e29e5047973099b1cf.tar.bz2 online_test-671eaf98c8bfe38db19867e29e5047973099b1cf.zip |
changed fixtures and views
Diffstat (limited to 'yaksh/views.py')
-rw-r--r-- | yaksh/views.py | 2 |
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), |