diff --git a/app/event/models.py b/app/event/models.py index 9c75961..5fe1123 100644 --- a/app/event/models.py +++ b/app/event/models.py @@ -1,4 +1,6 @@ from django.db import models +from django.conf import settings + import ox class Event(models.Model): @@ -24,4 +26,4 @@ class Event(models.Model): return '%s (%s)' % (ox.strip_tags(self.title), self.slug) def get_absolute_url(self): - return '/#' + self.slug + return '/' + settings.URL_PREFIX + '#' + self.slug