Browse files

Field set for ssh connection params

  • Loading branch information...
1 parent 53c134f commit cc49c9cf9d2e9e646fd00b803ce13c16e7668c93 @kachayev committed Jul 31, 2011
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)

0 comments on commit cc49c9c

Please sign in to comment.