File tree Expand file tree Collapse file tree
netbox_dns/api/serializers_ Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ class Meta:
5959 many = True ,
6060 read_only = True ,
6161 required = False ,
62- default = None ,
6362 help_text = _ ("Policies using this Key Template" ),
6463 )
6564 tenant = TenantSerializer (
Original file line number Diff line number Diff line change @@ -73,7 +73,6 @@ class Meta:
7373 many = True ,
7474 read_only = False ,
7575 required = False ,
76- default = None ,
7776 help_text = _ ("Key templates assigned to the policy" ),
7877 )
7978 dnskey_ttl = TimePeriodField (
@@ -128,14 +127,12 @@ class Meta:
128127 many = True ,
129128 read_only = True ,
130129 required = False ,
131- default = None ,
132130 help_text = _ ("Zones this policy is assigned to" ),
133131 )
134132 zone_templates = NestedZoneTemplateSerializer (
135133 many = True ,
136134 read_only = True ,
137135 required = False ,
138- default = None ,
139136 help_text = _ ("Zone templates this policy is assigned to" ),
140137 )
141138 tenant = TenantSerializer (
Original file line number Diff line number Diff line change @@ -46,7 +46,6 @@ class Meta:
4646 many = True ,
4747 read_only = True ,
4848 required = False ,
49- default = None ,
5049 help_text = _ ("Zones served by the authoritative nameserver" ),
5150 )
5251 tenant = TenantSerializer (
You can’t perform that action at this time.
0 commit comments