Fix weekmail new article link

This commit is contained in:
Skia
2017-03-24 14:01:05 +01:00
parent 39b32d456c
commit 3cf1628435
3 changed files with 3 additions and 3 deletions

View File

@ -333,7 +333,7 @@ class WeekmailArticleCreateView(QuickNotifMixin, CreateView): #XXX need to prote
def get_initial(self):
init = {}
try:
init['club'] = Club.objects.filter(id=self.kwargs['club_id']).first()
init['club'] = Club.objects.filter(id=self.request.GET['club']).first()
except: pass
return init