1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Added description to Tenant model

This commit is contained in:
Jeremy Stretch
2016-07-26 17:44:32 -04:00
parent faa12abc70
commit 27c21237ff
5 changed files with 41 additions and 4 deletions

View File

@ -30,7 +30,7 @@ class TenantForm(forms.ModelForm, BootstrapMixin):
class Meta:
model = Tenant
fields = ['name', 'slug', 'group', 'comments']
fields = ['name', 'slug', 'group', 'description', 'comments']
class TenantFromCSVForm(forms.ModelForm):
@ -39,7 +39,7 @@ class TenantFromCSVForm(forms.ModelForm):
class Meta:
model = Tenant
fields = ['name', 'slug', 'group', 'comments']
fields = ['name', 'slug', 'group', 'description', 'comments']
class TenantImportForm(BulkImportForm, BootstrapMixin):