Rename document type model 'name' field to 'label'.

This commit is contained in:
Roberto Rosario
2015-07-07 21:12:44 -04:00
parent ab2d4537dc
commit c861799b6b
4 changed files with 44 additions and 25 deletions

View File

@@ -100,7 +100,7 @@ class DocumentTypeForm(forms.ModelForm):
Model class form to create or edit a document type
"""
class Meta:
fields = ('name', 'trash_time_period', 'trash_time_unit', 'delete_time_period', 'delete_time_unit')
fields = ('label', 'trash_time_period', 'trash_time_unit', 'delete_time_period', 'delete_time_unit')
model = DocumentType