Commit 77e9893d authored by Okhin's avatar Okhin
Browse files

Fixing the get_absolute_url

parent afefbf73
...@@ -113,7 +113,7 @@ class Violation(models.Model): ...@@ -113,7 +113,7 @@ class Violation(models.Model):
return return
def get_absolute_url(self): def get_absolute_url(self):
return reverse('violation_url', args=( return reverse('violation_url', args=[])
def __unicode__(self): def __unicode__(self):
return "#%s %s/%s" % (,, self.operator) return "#%s %s/%s" % (,, self.operator)
Supports Markdown
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