Exclude tags from all document forms
This commit is contained in:
@@ -204,13 +204,13 @@ class DocumentContentForm(forms.Form):
|
|||||||
class DocumentForm_view(DetailForm):
|
class DocumentForm_view(DetailForm):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Document
|
model = Document
|
||||||
exclude = ('file',)
|
exclude = ('file', 'tags')
|
||||||
|
|
||||||
|
|
||||||
class DocumentForm_edit(DocumentForm):
|
class DocumentForm_edit(DocumentForm):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Document
|
model = Document
|
||||||
exclude = ('file', 'document_type')
|
exclude = ('file', 'document_type', 'tags')
|
||||||
|
|
||||||
|
|
||||||
class StagingDocumentForm(forms.Form):
|
class StagingDocumentForm(forms.Form):
|
||||||
|
|||||||
Reference in New Issue
Block a user