Skip to content
Snippets Groups Projects
Commit 79128a88 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

show all events on manage events page

parent caeb2885
No related branches found
No related tags found
No related merge requests found
...@@ -78,7 +78,7 @@ MENUS = { ...@@ -78,7 +78,7 @@ MENUS = {
], ],
}, },
{ {
"name": _("Upcoming events"), "name": _("Events"),
"url": "manage_events", "url": "manage_events",
"icon": "edit", "icon": "edit",
"validators": [ "validators": [
......
...@@ -88,7 +88,7 @@ def manage_events(request: HttpRequest) -> HttpResponse: ...@@ -88,7 +88,7 @@ def manage_events(request: HttpRequest) -> HttpResponse:
# Get all registrations # Get all registrations
now = timezone.datetime.today() now = timezone.datetime.today()
events = Event.objects.filter(date_event__gte=now) events = Event.objects.all()
# Get filter # Get filter
events_filter = EventFilter(request.GET, queryset=events) events_filter = EventFilter(request.GET, queryset=events)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment