summaryrefslogtreecommitdiff
path: root/tbc/forms.py
diff options
context:
space:
mode:
authorprathamesh2014-03-06 16:56:33 +0530
committerprathamesh2014-03-06 16:56:33 +0530
commit5c6a8fc3481d6c353dd5addf5941c97d78787d51 (patch)
treeb208b11346a43f5de46fde945c621d6bd36d8c53 /tbc/forms.py
parenta459b3e82b86466e604d728f67fb15c2b56f897e (diff)
downloadPython-TBC-Interface-5c6a8fc3481d6c353dd5addf5941c97d78787d51.tar.gz
Python-TBC-Interface-5c6a8fc3481d6c353dd5addf5941c97d78787d51.tar.bz2
Python-TBC-Interface-5c6a8fc3481d6c353dd5addf5941c97d78787d51.zip
excluded reviewer from the form
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'}),