Commit f61047af authored by KaoruSawade's avatar KaoruSawade

edited models.py: fixed the arguments for reverse() in WidgetUser get_absolute_url()

parent 8afcef11
......@@ -18,5 +18,5 @@ class WidgetUser(models.Model):
return '{} {} {}'.format(self.first_name, self.middle_name, self.last_name)
def get_absolute_url(self):
return reverse("widgetuser-details", kwargs={"pk": self.pk})
return reverse('dashboard:widgetuser-details', kwargs={"pk": self.pk})
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment