Fix absolute_url on Ticket to use the right url namespace
This commit is contained in:
parent
3b44f33e04
commit
b00b3f3156
|
@ -55,7 +55,7 @@ class Ticket(CreatedUpdatedModel, UUIDModel):
|
|||
)
|
||||
|
||||
def get_absolute_url(self):
|
||||
return reverse_lazy('ticket:detail', kwargs={
|
||||
return reverse_lazy('tickets:detail', kwargs={
|
||||
'pk': self.pk
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue