mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-30 22:29:32 +00:00
Fix weekmail new article link
This commit is contained in:
1 parent
39b32d456c
commit
3cf1628435
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -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