mirror of
https://github.com/eduardogsilva/routerfleet.git
synced 2025-07-14 12:14:23 +02:00
Backup data
This commit is contained in:
parent
cc54ba0f73
commit
c9a7a69d4b
16 changed files with 207 additions and 7 deletions
11
backup_data/admin.py
Normal file
11
backup_data/admin.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
from django.contrib import admin
|
||||
from .models import RouterBackup
|
||||
|
||||
|
||||
class RouterBackupAdmin(admin.ModelAdmin):
|
||||
list_display = ('router', 'success', 'error', 'retry_count', 'next_retry', 'schedule_time', 'schedule_type', 'queue_length', 'finish_time', 'updated', 'created', 'uuid')
|
||||
search_fields = ('router__name', 'error_message', 'backup_text')
|
||||
list_filter = ('success', 'error', 'schedule_type')
|
||||
|
||||
|
||||
admin.site.register(RouterBackup, RouterBackupAdmin)
|
Loading…
Add table
Add a link
Reference in a new issue