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
242439f7
authored
Mar 22, 2014
by
Bach Dániel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
network: fix errors
parent
d936ba61
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
circle/network/forms.py
+1
-1
circle/network/tables.py
+1
-1
No files found.
circle/network/forms.py
View file @
242439f7
...
@@ -106,7 +106,7 @@ class HostForm(ModelForm):
...
@@ -106,7 +106,7 @@ class HostForm(ModelForm):
'ipv4'
,
'ipv4'
,
'ipv6'
,
'ipv6'
,
'shared_ip'
,
'shared_ip'
,
'
pub
_ipv4'
,
'
external
_ipv4'
,
),
),
Fieldset
(
Fieldset
(
'Information'
,
'Information'
,
...
...
circle/network/tables.py
View file @
242439f7
...
@@ -44,7 +44,7 @@ class HostTable(Table):
...
@@ -44,7 +44,7 @@ class HostTable(Table):
model
=
Host
model
=
Host
attrs
=
{
'class'
:
'table table-striped table-condensed'
}
attrs
=
{
'class'
:
'table table-striped table-condensed'
}
fields
=
(
'hostname'
,
'vlan'
,
'mac'
,
'ipv4'
,
'ipv6'
,
fields
=
(
'hostname'
,
'vlan'
,
'mac'
,
'ipv4'
,
'ipv6'
,
'
pub
_ipv4'
,
'created_at'
,
'owner'
,
)
'
external
_ipv4'
,
'created_at'
,
'owner'
,
)
order_by
=
(
'vlan'
,
'hostname'
,
)
order_by
=
(
'vlan'
,
'hostname'
,
)
...
...
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