Skip to content

Commit 0b2ba39

Browse files
ajrbyersjoemull
authored andcommitted
Excludes keywords and publisher notes from the chapter form.
1 parent 4af33e0 commit 0b2ba39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def __init__(self, *args, **kwargs):
101101

102102
class Meta:
103103
model = models.Chapter
104-
exclude = ('book', 'filename')
104+
exclude = ('book', 'filename', 'keywords', 'publisher_notes')
105105

106106
def save(self, commit=True, book=None, *args, **kwargs):
107107
save_chapter = super(ChapterForm, self).save(commit=False)

0 commit comments

Comments
 (0)