Skip to content

Commit

Permalink
Fixes: #126 - Fix BackupJobTable Meta datatype
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSheps committed Feb 12, 2025
1 parent f39ea34 commit 2383b25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions netbox_config_backup/tables.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import django_tables2 as tables
from django_tables2.utils import Accessor

from netbox_config_backup.models import Backup, BackupCommitTreeChange
from netbox_config_backup.models import Backup, BackupCommitTreeChange, BackupJob
from netbox.tables import columns, BaseTable, NetBoxTable


Expand Down Expand Up @@ -44,7 +44,7 @@ class BackupJobTable(BaseTable):
completed = tables.DateTimeColumn()

class Meta(BaseTable.Meta):
model = Backup
model = BackupJob
fields = (
'pk', 'backup', 'pid', 'created', 'scheduled', 'started', 'completed', 'status'
)
Expand Down

0 comments on commit 2383b25

Please sign in to comment.