Skip to content

Commit 875c9ee

Browse files
committed
2 parents 599ba59 + 7add879 commit 875c9ee

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

netbox_config_backup/models/jobs.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
from django.db import models
44
from django.db.models import ForeignKey
5+
from django.urls import reverse
56
from django.utils import timezone
67
from django.utils.translation import gettext as _
78

@@ -69,6 +70,9 @@ class BackupJob(NetBoxModel):
6970
def __str__(self):
7071
return str(self.job_id)
7172

73+
def get_absolute_url(self):
74+
return None
75+
7276
@property
7377
def queue(self):
7478
return get_queue('netbox_config_backup.jobs')

0 commit comments

Comments
 (0)