Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Fukász Rómeó Ervin
/
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
98cc1e3e
authored
Apr 17, 2014
by
Őry Máté
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: use absolute_import in dashboard modules
needed to add module dashboard.vm and sensibly import circle.vm
parent
62546528
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
3 deletions
+10
-3
circle/dashboard/forms.py
+2
-0
circle/dashboard/models.py
+2
-0
circle/dashboard/tables.py
+2
-0
circle/dashboard/urls.py
+2
-1
circle/dashboard/views.py
+2
-2
No files found.
circle/dashboard/forms.py
View file @
98cc1e3e
from
__future__
import
absolute_import
from
datetime
import
timedelta
from
datetime
import
timedelta
from
django.contrib.auth.models
import
User
from
django.contrib.auth.models
import
User
...
...
circle/dashboard/models.py
View file @
98cc1e3e
from
__future__
import
absolute_import
from
itertools
import
chain
from
itertools
import
chain
from
logging
import
getLogger
from
logging
import
getLogger
...
...
circle/dashboard/tables.py
View file @
98cc1e3e
from
__future__
import
absolute_import
from
django.contrib.auth.models
import
Group
,
User
from
django.contrib.auth.models
import
Group
,
User
from
django_tables2
import
Table
,
A
from
django_tables2
import
Table
,
A
from
django_tables2.columns
import
(
TemplateColumn
,
Column
,
BooleanColumn
,
from
django_tables2.columns
import
(
TemplateColumn
,
Column
,
BooleanColumn
,
...
...
circle/dashboard/urls.py
View file @
98cc1e3e
from
django.conf.urls
import
patterns
,
url
from
__future__
import
absolute_import
from
django.conf.urls
import
patterns
,
url
,
include
from
vm.models
import
Instance
from
vm.models
import
Instance
from
.views
import
(
from
.views
import
(
...
...
circle/dashboard/views.py
View file @
98cc1e3e
from
__future__
import
unicode_literals
from
__future__
import
unicode_literals
,
absolute_import
from
os
import
getenv
from
os
import
getenv
import
json
import
json
...
@@ -47,7 +47,7 @@ from vm.models import (
...
@@ -47,7 +47,7 @@ from vm.models import (
)
)
from
storage.models
import
Disk
from
storage.models
import
Disk
from
firewall.models
import
Vlan
,
Host
,
Rule
from
firewall.models
import
Vlan
,
Host
,
Rule
from
dashboard
.models
import
Favourite
,
Profile
from
.models
import
Favourite
,
Profile
logger
=
logging
.
getLogger
(
__name__
)
logger
=
logging
.
getLogger
(
__name__
)
...
...
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