diff --git a/proposals/models.py b/proposals/models.py index c123cc2..23eecba 100644 --- a/proposals/models.py +++ b/proposals/models.py @@ -57,6 +57,9 @@ class Event(models.Model): def __str__(self): return ugettext(self.name) + def get_absolute_url(self): + return reverse('list-talks') + '?kind=%d' % self.pk + class Talk(PonyConfModel): diff --git a/proposals/templates/proposals/talk_detail.html b/proposals/templates/proposals/talk_detail.html index cdf3901..c80f3aa 100644 --- a/proposals/templates/proposals/talk_detail.html +++ b/proposals/templates/proposals/talk_detail.html @@ -14,7 +14,7 @@

{% trans "Format:" %}

-

{{ talk.event }}

+

{{ talk.event }}

{% trans "Abstract:" %}