Commit 3db75f9e authored by Michal Čihař's avatar Michal Čihař

Do not override translation URL with language one

Fixes rb#203
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent b6364eaa
...@@ -82,10 +82,11 @@ class ChangesView(ListView): ...@@ -82,10 +82,11 @@ class ChangesView(ListView):
if self.language is not None: if self.language is not None:
url['lang'] = self.language.code url['lang'] = self.language.code
context['changes_rss'] = reverse( if 'changes_rss' not in context:
'rss-language', context['changes_rss'] = reverse(
kwargs=url, 'rss-language',
) kwargs=url,
)
if self.user is not None: if self.user is not None:
url['user'] = self.user.username.encode('utf-8') url['user'] = self.user.username.encode('utf-8')
......
Markdown is supported
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