Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b6a42260
authored
May 20, 2015
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall: fix warnings (null=True)
parent
a65d9643
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
circle/firewall/models.py
+3
-3
No files found.
circle/firewall/models.py
View file @
b6a42260
...
@@ -330,7 +330,7 @@ class Vlan(AclBase, models.Model):
...
@@ -330,7 +330,7 @@ class Vlan(AclBase, models.Model):
'selected below '
'selected below '
'(typically to the internet).'
))
'(typically to the internet).'
))
snat_to
=
models
.
ManyToManyField
(
'self'
,
symmetrical
=
False
,
blank
=
True
,
snat_to
=
models
.
ManyToManyField
(
'self'
,
symmetrical
=
False
,
blank
=
True
,
null
=
True
,
verbose_name
=
_
(
'NAT to'
),
verbose_name
=
_
(
'NAT to'
),
help_text
=
_
(
help_text
=
_
(
'Connections to these networks '
'Connections to these networks '
'should be network address '
'should be network address '
...
@@ -533,7 +533,7 @@ class VlanGroup(models.Model):
...
@@ -533,7 +533,7 @@ class VlanGroup(models.Model):
name
=
models
.
CharField
(
max_length
=
20
,
unique
=
True
,
verbose_name
=
_
(
'name'
),
name
=
models
.
CharField
(
max_length
=
20
,
unique
=
True
,
verbose_name
=
_
(
'name'
),
help_text
=
_
(
'The name of the group.'
))
help_text
=
_
(
'The name of the group.'
))
vlans
=
models
.
ManyToManyField
(
'Vlan'
,
symmetrical
=
False
,
blank
=
True
,
vlans
=
models
.
ManyToManyField
(
'Vlan'
,
symmetrical
=
False
,
blank
=
True
,
null
=
True
,
verbose_name
=
_
(
'vlans'
),
verbose_name
=
_
(
'vlans'
),
help_text
=
_
(
'The vlans which are members '
help_text
=
_
(
'The vlans which are members '
'of the group.'
))
'of the group.'
))
description
=
models
.
TextField
(
blank
=
True
,
verbose_name
=
_
(
'description'
),
description
=
models
.
TextField
(
blank
=
True
,
verbose_name
=
_
(
'description'
),
...
@@ -639,7 +639,7 @@ class Host(models.Model):
...
@@ -639,7 +639,7 @@ class Host(models.Model):
help_text
=
_
(
help_text
=
_
(
'The person responsible for this host.'
))
'The person responsible for this host.'
))
groups
=
models
.
ManyToManyField
(
'Group'
,
symmetrical
=
False
,
blank
=
True
,
groups
=
models
.
ManyToManyField
(
'Group'
,
symmetrical
=
False
,
blank
=
True
,
null
=
True
,
verbose_name
=
_
(
'groups'
),
verbose_name
=
_
(
'groups'
),
help_text
=
_
(
help_text
=
_
(
'Host groups the machine is part of.'
))
'Host groups the machine is part of.'
))
created_at
=
models
.
DateTimeField
(
auto_now_add
=
True
,
created_at
=
models
.
DateTimeField
(
auto_now_add
=
True
,
...
...
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