Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Field set for ssh connection params

  • Loading branch information...
commit cc49c9cf9d2e9e646fd00b803ce13c16e7668c93 1 parent 53c134f
@kachayev authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 gearoscope/apps/scoper/models.py
View
9 gearoscope/apps/scoper/models.py
@@ -32,7 +32,14 @@ def __unicode__(self):
class ServerAdmin(admin.ModelAdmin):
'''Params for server nodes managment via administrative panel'''
- pass
+ fieldsets = (
+ (None, {
+ 'fields': ('host', 'name')
+ }),
+ ('SSH connection options', {
+ 'fields': ('user', 'password', 'ssh_key', 'ssh_port')
+ }),
+ )
admin.site.register(Server, ServerAdmin)
Please sign in to comment.
Something went wrong with that request. Please try again.