diff options
author | hardythe1 | 2014-03-12 18:08:26 +0530 |
---|---|---|
committer | hardythe1 | 2014-03-12 18:08:26 +0530 |
commit | 132aaf0a1d055741873ed738b7287dad7635e0e9 (patch) | |
tree | 7d05e1991d117b17688fefddbb02e0da43036ec5 /tbc/views.py | |
parent | c36488a3470b60a454005eda626f1d1f3af38f34 (diff) | |
parent | 351765822bc7a84c96c4a26d9936f319948a2f2e (diff) | |
download | Python-TBC-Interface-132aaf0a1d055741873ed738b7287dad7635e0e9.tar.gz Python-TBC-Interface-132aaf0a1d055741873ed738b7287dad7635e0e9.tar.bz2 Python-TBC-Interface-132aaf0a1d055741873ed738b7287dad7635e0e9.zip |
Merge branch 'master' of https://github.com/FOSSEE/Python-TBC-Interface
Diffstat (limited to 'tbc/views.py')
-rw-r--r-- | tbc/views.py | 1 |
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] |