Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
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
3dfc4f4c
authored
Feb 07, 2014
by
Dudás Ádám
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vm: add owner field to InstanceTemplate
parent
00c89c64
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
0 deletions
+1
-0
circle/vm/migrations/0014_auto__add_field_instancetemplate_owner.py
+0
-0
circle/vm/models/instance.py
+1
-0
No files found.
circle/vm/migrations/0014_auto__add_field_instancetemplate_owner.py
0 → 100644
View file @
3dfc4f4c
This diff is collapsed.
Click to expand it.
circle/vm/models/instance.py
View file @
3dfc4f4c
...
@@ -118,6 +118,7 @@ class InstanceTemplate(AclBase, VirtualMachineDescModel, TimeStampedModel):
...
@@ -118,6 +118,7 @@ class InstanceTemplate(AclBase, VirtualMachineDescModel, TimeStampedModel):
disks
=
ManyToManyField
(
Disk
,
verbose_name
=
_
(
'disks'
),
disks
=
ManyToManyField
(
Disk
,
verbose_name
=
_
(
'disks'
),
related_name
=
'template_set'
,
related_name
=
'template_set'
,
help_text
=
_
(
'Disks which are to be mounted.'
))
help_text
=
_
(
'Disks which are to be mounted.'
))
owner
=
ForeignKey
(
User
)
class
Meta
:
class
Meta
:
app_label
=
'vm'
app_label
=
'vm'
...
...
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