mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-28 11:26:26 -06:00
Fixes #937: Region assignment should be optional when creating a site
This commit is contained in:
parent
ac47fba481
commit
047fb8c671
@ -82,7 +82,7 @@ class RegionForm(BootstrapMixin, forms.ModelForm):
|
||||
#
|
||||
|
||||
class SiteForm(BootstrapMixin, CustomFieldForm):
|
||||
region = TreeNodeChoiceField(queryset=Region.objects.all())
|
||||
region = TreeNodeChoiceField(queryset=Region.objects.all(), required=False)
|
||||
slug = SlugField()
|
||||
comments = CommentField()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user