Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Field set for ssh connection params

  • Loading branch information...
commit cc49c9cf9d2e9e646fd00b803ce13c16e7668c93 1 parent 53c134f
Alexey Kachayev authored

Showing 1 changed file with 8 additions and 1 deletion. Show diff stats Hide diff stats

  1. 9  gearoscope/apps/scoper/models.py
9  gearoscope/apps/scoper/models.py
@@ -32,7 +32,14 @@ def __unicode__(self):
32 32
 
33 33
 class ServerAdmin(admin.ModelAdmin):
34 34
     '''Params for server nodes managment via administrative panel'''
35  
-    pass
  35
+    fieldsets = (
  36
+        (None, {
  37
+            'fields': ('host', 'name')
  38
+        }),
  39
+        ('SSH connection options', {
  40
+            'fields': ('user', 'password', 'ssh_key', 'ssh_port')
  41
+        }),
  42
+    )
36 43
 
37 44
 admin.site.register(Server, ServerAdmin)
38 45
 

0 notes on commit cc49c9c

Please sign in to comment.
Something went wrong with that request. Please try again.