mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
Fix weekmail new article link
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user