From 5c6a8fc3481d6c353dd5addf5941c97d78787d51 Mon Sep 17 00:00:00 2001 From: prathamesh Date: Thu, 6 Mar 2014 16:56:33 +0530 Subject: excluded reviewer from the form --- tbc/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tbc/forms.py') 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'}), -- cgit