2👍
✅
Just change en models.py
the following:
def get_absolute_url(self):
return reverse('services_by_category', args=[self.slug])
’cause you have not defined the namespace
services.
Source:stackexchange.com