Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
253bce91
authored
Mar 12, 2015
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
network: fix RemovedInDjango18Warnings
Closes #394
parent
0193fba3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
circle/dashboard/forms.py
+3
-0
circle/network/forms.py
+10
-0
No files found.
circle/dashboard/forms.py
View file @
253bce91
...
@@ -739,6 +739,7 @@ class LeaseForm(forms.ModelForm):
...
@@ -739,6 +739,7 @@ class LeaseForm(forms.ModelForm):
class
Meta
:
class
Meta
:
model
=
Lease
model
=
Lease
exclude
=
()
class
VmRenewForm
(
OperationForm
):
class
VmRenewForm
(
OperationForm
):
...
@@ -1604,6 +1605,7 @@ class DataStoreForm(ModelForm):
...
@@ -1604,6 +1605,7 @@ class DataStoreForm(ModelForm):
class
Meta
:
class
Meta
:
model
=
DataStore
model
=
DataStore
exclude
=
()
class
DiskForm
(
ModelForm
):
class
DiskForm
(
ModelForm
):
...
@@ -1615,3 +1617,4 @@ class DiskForm(ModelForm):
...
@@ -1615,3 +1617,4 @@ class DiskForm(ModelForm):
class
Meta
:
class
Meta
:
model
=
Disk
model
=
Disk
exclude
=
()
circle/network/forms.py
View file @
253bce91
...
@@ -69,6 +69,7 @@ class BlacklistItemForm(ModelForm):
...
@@ -69,6 +69,7 @@ class BlacklistItemForm(ModelForm):
class
Meta
:
class
Meta
:
model
=
BlacklistItem
model
=
BlacklistItem
exclude
=
()
class
DomainForm
(
ModelForm
):
class
DomainForm
(
ModelForm
):
...
@@ -90,6 +91,7 @@ class DomainForm(ModelForm):
...
@@ -90,6 +91,7 @@ class DomainForm(ModelForm):
class
Meta
:
class
Meta
:
model
=
Domain
model
=
Domain
exclude
=
()
class
FirewallForm
(
ModelForm
):
class
FirewallForm
(
ModelForm
):
...
@@ -105,6 +107,7 @@ class FirewallForm(ModelForm):
...
@@ -105,6 +107,7 @@ class FirewallForm(ModelForm):
class
Meta
:
class
Meta
:
model
=
Firewall
model
=
Firewall
exclude
=
()
class
GroupForm
(
ModelForm
):
class
GroupForm
(
ModelForm
):
...
@@ -126,6 +129,7 @@ class GroupForm(ModelForm):
...
@@ -126,6 +129,7 @@ class GroupForm(ModelForm):
class
Meta
:
class
Meta
:
model
=
Group
model
=
Group
exclude
=
()
class
HostForm
(
ModelForm
):
class
HostForm
(
ModelForm
):
...
@@ -165,6 +169,7 @@ class HostForm(ModelForm):
...
@@ -165,6 +169,7 @@ class HostForm(ModelForm):
class
Meta
:
class
Meta
:
model
=
Host
model
=
Host
exclude
=
()
class
RecordForm
(
ModelForm
):
class
RecordForm
(
ModelForm
):
...
@@ -191,6 +196,7 @@ class RecordForm(ModelForm):
...
@@ -191,6 +196,7 @@ class RecordForm(ModelForm):
class
Meta
:
class
Meta
:
model
=
Record
model
=
Record
exclude
=
()
class
RuleForm
(
ModelForm
):
class
RuleForm
(
ModelForm
):
...
@@ -230,6 +236,7 @@ class RuleForm(ModelForm):
...
@@ -230,6 +236,7 @@ class RuleForm(ModelForm):
class
Meta
:
class
Meta
:
model
=
Rule
model
=
Rule
exclude
=
()
class
SwitchPortForm
(
ModelForm
):
class
SwitchPortForm
(
ModelForm
):
...
@@ -252,6 +259,7 @@ class SwitchPortForm(ModelForm):
...
@@ -252,6 +259,7 @@ class SwitchPortForm(ModelForm):
class
Meta
:
class
Meta
:
model
=
SwitchPort
model
=
SwitchPort
exclude
=
()
class
VlanForm
(
ModelForm
):
class
VlanForm
(
ModelForm
):
...
@@ -305,6 +313,7 @@ class VlanForm(ModelForm):
...
@@ -305,6 +313,7 @@ class VlanForm(ModelForm):
widgets
=
{
widgets
=
{
'ipv6_template'
:
widgets
.
TextInput
,
'ipv6_template'
:
widgets
.
TextInput
,
}
}
exclude
=
()
class
VlanGroupForm
(
ModelForm
):
class
VlanGroupForm
(
ModelForm
):
...
@@ -328,3 +337,4 @@ class VlanGroupForm(ModelForm):
...
@@ -328,3 +337,4 @@ class VlanGroupForm(ModelForm):
class
Meta
:
class
Meta
:
model
=
VlanGroup
model
=
VlanGroup
exclude
=
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment