Commit 833cbcb4 by Bach Dániel

fixes #109

parent a4c74821
...@@ -106,7 +106,7 @@ class InstanceAdmin(contrib.admin.ModelAdmin): ...@@ -106,7 +106,7 @@ class InstanceAdmin(contrib.admin.ModelAdmin):
model = models.Instance model = models.Instance
actions = [update_state, submit_vm, delete_vm, suspend_vm, resume_vm] actions = [update_state, submit_vm, delete_vm, suspend_vm, resume_vm]
list_display = ('id', 'name', owner_person, 'state') list_display = ('id', 'name', owner_person, 'state')
readonly_fields = ('ip', 'active_since', 'pw', 'template') readonly_fields = ('ip', 'active_since', 'pw', )
list_filter = ('owner', 'template', 'state') list_filter = ('owner', 'template', 'state')
def queryset(self, request): def queryset(self, request):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment