mirror of
https://github.com/eduardogsilva/routerfleet.git
synced 2025-07-23 04:14:27 +02:00
Manage backup profiles
This commit is contained in:
parent
e507987530
commit
cc54ba0f73
12 changed files with 392 additions and 18 deletions
|
@ -11,7 +11,7 @@ class RouterForm(forms.ModelForm):
|
|||
|
||||
class Meta:
|
||||
model = Router
|
||||
fields = ['name', 'address', 'username', 'password', 'ssh_key', 'monitoring', 'router_type', 'enabled']
|
||||
fields = ['name', 'address', 'username', 'password', 'ssh_key', 'monitoring', 'router_type', 'enabled', 'backup_profile']
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super(RouterForm, self).__init__(*args, **kwargs)
|
||||
|
@ -35,6 +35,7 @@ class RouterForm(forms.ModelForm):
|
|||
css_class='form-row'
|
||||
),
|
||||
'ssh_key',
|
||||
'backup_profile',
|
||||
'router_type',
|
||||
'monitoring',
|
||||
'enabled',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue