summaryrefslogtreecommitdiff
path: root/tbc/forms.py
diff options
context:
space:
mode:
authorhardythe12014-03-12 18:08:26 +0530
committerhardythe12014-03-12 18:08:26 +0530
commit132aaf0a1d055741873ed738b7287dad7635e0e9 (patch)
tree7d05e1991d117b17688fefddbb02e0da43036ec5 /tbc/forms.py
parentc36488a3470b60a454005eda626f1d1f3af38f34 (diff)
parent351765822bc7a84c96c4a26d9936f319948a2f2e (diff)
downloadPython-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/forms.py')
-rw-r--r--tbc/forms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tbc/forms.py b/tbc/forms.py
index cf99afc..3fb9932 100644
--- a/tbc/forms.py
+++ b/tbc/forms.py
@@ -52,7 +52,7 @@ class BookForm(forms.ModelForm):
self.fields['no_chapters'].label = "Number of Chapter"
class Meta:
model = Book
- exclude = ('contributor', 'approved')
+ exclude = ('contributor', 'approved', 'reviewer')
widgets = {
'title':forms.TextInput(attrs={'placeholder':'Title of the Book'}),
'author':forms.TextInput(attrs={'placeholder':'Author of the Book'}),