summaryrefslogtreecommitdiff
path: root/tbc/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'tbc/views.py')
-rw-r--r--tbc/views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tbc/views.py b/tbc/views.py
index 194b73f..e4a818f 100644
--- a/tbc/views.py
+++ b/tbc/views.py
@@ -186,6 +186,7 @@ def SubmitBook(request):
data = form.save(commit=False)
profile = Profile.objects.get(user=request.user.id)
data.contributor = profile
+ data.reviewer = Reviewer.objects.get(pk=1)
data.save()
context['user'] = curr_user
curr_book = Book.objects.order_by("-id")[0]