Commit 253bce91 by Bach Dániel

network: fix RemovedInDjango18Warnings

Closes #394
parent 0193fba3
......@@ -739,6 +739,7 @@ class LeaseForm(forms.ModelForm):
class Meta:
model = Lease
exclude = ()
class VmRenewForm(OperationForm):
......@@ -1604,6 +1605,7 @@ class DataStoreForm(ModelForm):
class Meta:
model = DataStore
exclude = ()
class DiskForm(ModelForm):
......@@ -1615,3 +1617,4 @@ class DiskForm(ModelForm):
class Meta:
model = Disk
exclude = ()
......@@ -69,6 +69,7 @@ class BlacklistItemForm(ModelForm):
class Meta:
model = BlacklistItem
exclude = ()
class DomainForm(ModelForm):
......@@ -90,6 +91,7 @@ class DomainForm(ModelForm):
class Meta:
model = Domain
exclude = ()
class FirewallForm(ModelForm):
......@@ -105,6 +107,7 @@ class FirewallForm(ModelForm):
class Meta:
model = Firewall
exclude = ()
class GroupForm(ModelForm):
......@@ -126,6 +129,7 @@ class GroupForm(ModelForm):
class Meta:
model = Group
exclude = ()
class HostForm(ModelForm):
......@@ -165,6 +169,7 @@ class HostForm(ModelForm):
class Meta:
model = Host
exclude = ()
class RecordForm(ModelForm):
......@@ -191,6 +196,7 @@ class RecordForm(ModelForm):
class Meta:
model = Record
exclude = ()
class RuleForm(ModelForm):
......@@ -230,6 +236,7 @@ class RuleForm(ModelForm):
class Meta:
model = Rule
exclude = ()
class SwitchPortForm(ModelForm):
......@@ -252,6 +259,7 @@ class SwitchPortForm(ModelForm):
class Meta:
model = SwitchPort
exclude = ()
class VlanForm(ModelForm):
......@@ -305,6 +313,7 @@ class VlanForm(ModelForm):
widgets = {
'ipv6_template': widgets.TextInput,
}
exclude = ()
class VlanGroupForm(ModelForm):
......@@ -328,3 +337,4 @@ class VlanGroupForm(ModelForm):
class Meta:
model = VlanGroup
exclude = ()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment