diff options
author | prathamesh | 2014-03-06 16:56:33 +0530 |
---|---|---|
committer | prathamesh | 2014-03-06 16:56:33 +0530 |
commit | 5c6a8fc3481d6c353dd5addf5941c97d78787d51 (patch) | |
tree | b208b11346a43f5de46fde945c621d6bd36d8c53 /tbc/forms.py | |
parent | a459b3e82b86466e604d728f67fb15c2b56f897e (diff) | |
download | Python-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.py | 2 |
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'}), |