Fix absolute_url on Ticket to use the right url namespace

This commit is contained in:
Víðir Valberg Guðmundsson 2016-05-10 21:20:49 +02:00
parent 3b44f33e04
commit b00b3f3156

View file

@ -55,7 +55,7 @@ class Ticket(CreatedUpdatedModel, UUIDModel):
) )
def get_absolute_url(self): def get_absolute_url(self):
return reverse_lazy('ticket:detail', kwargs={ return reverse_lazy('tickets:detail', kwargs={
'pk': self.pk 'pk': self.pk
}) })