forked from DGNum/gestioCOF
Backwards-incompatible changes : queryset in filter
This commit is contained in:
parent
72560397a2
commit
7717d1ed34
1 changed files with 1 additions and 1 deletions
|
@ -754,7 +754,7 @@ def export_mega_participants(request):
|
||||||
|
|
||||||
@buro_required
|
@buro_required
|
||||||
def export_mega(request):
|
def export_mega(request):
|
||||||
event = Event.objects.filter(title=MEGA_EVENT_NAME)
|
event = Event.objects.get(title=MEGA_EVENT_NAME)
|
||||||
qs = EventRegistration.objects.filter(event=event).order_by("user__username")
|
qs = EventRegistration.objects.filter(event=event).order_by("user__username")
|
||||||
return csv_export_mega("all_mega_{}.csv".format(MEGA_YEAR), qs)
|
return csv_export_mega("all_mega_{}.csv".format(MEGA_YEAR), qs)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue