chore: сохраняем пароль которым ставили сервер
This commit is contained in:
1 parent
6d322f36a9
commit
c4300066f5
9 files changed
+133
-38
No files matched your search
+3
-1
@@ -33,7 +33,9 @@ class UserAdmin(BaseUserAdmin):
|
||||
class ServerInline(admin.StackedInline):
|
||||
model = Server
|
||||
extra = 0
|
||||
fields = ('role', 'address', 'ssh_port', 'root_password', 'public_key', 'known_hosts', 'uname')
|
||||
fields = (
|
||||
'role', 'address', 'ssh_port', 'root_password', 'default_root_password', 'public_key', 'known_hosts', 'uname',
|
||||
)
|
||||
readonly_fields = fields
|
||||
can_delete = False
|
||||
|
||||
|
||||
Reference in new issue
Block a user