Commit b2057455 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Merge branch 'fix/partners-reverse' into 'master'

Fix resolving absolute urls for partners

Notably, this fixes the error that broke `sitemap.xml`

See merge request !243
parents 65df1d28 d0e4e332
......@@ -59,7 +59,7 @@ class Partner(models.Model):
return self.name
def get_absolute_url(self):
return reverse('partner', args=(self.slug,))
return reverse('partners:partner', args=(self.slug,))
class PartnerImage(models.Model):
......
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