diff --git a/organization/magazine/urls.py b/organization/magazine/urls.py index 35b030e2..45ca0954 100644 --- a/organization/magazine/urls.py +++ b/organization/magazine/urls.py @@ -34,7 +34,7 @@ urlpatterns = [ url( - "^article/detail/(?P.*)[%s]?$" % _slash, + "^article/detail/(?P.*)[%s]$" % _slash, ArticleDetailView.as_view(), name="magazine-article-detail" ), @@ -44,11 +44,11 @@ name="magazine-article-list" ), url( - "^article/list/(?P.*)[%s]?$" % _slash, ArticleListView.as_view(), + "^article/list/(?P.*)[%s]$" % _slash, ArticleListView.as_view(), name="magazine-article-list" ), url( - "^topic/detail/(?P.*)[%s]?$" % _slash, + "^topic/detail/(?P.*)[%s]$" % _slash, TopicDetailView.as_view(), name='topic-detail' ), diff --git a/organization/pages/translation.py b/organization/pages/translation.py index 36afc179..293f8cce 100644 --- a/organization/pages/translation.py +++ b/organization/pages/translation.py @@ -37,7 +37,7 @@ class LinkStyleTranslationOptions(TranslationOptions): @register(Home) class HomeTranslationOptions(TranslationOptions): - pass + fields = ('punchline',) @register(DynamicContentHomeSlider)