diff --git a/aleksis/apps/paweljong/menus.py b/aleksis/apps/paweljong/menus.py index 2d9cc4ffc0f1ea11c3a3209d614bc551cfd89cae..ffcf165071876be1dfa2aeb4fa0326edb6548f03 100644 --- a/aleksis/apps/paweljong/menus.py +++ b/aleksis/apps/paweljong/menus.py @@ -78,7 +78,7 @@ MENUS = { ], }, { - "name": _("Upcoming events"), + "name": _("Events"), "url": "manage_events", "icon": "edit", "validators": [ diff --git a/aleksis/apps/paweljong/views.py b/aleksis/apps/paweljong/views.py index 96e23ed338499ef649029526fad36f3fefa7fedc..d30369ffcce96b4e3246a1e49dda963a4e09590b 100644 --- a/aleksis/apps/paweljong/views.py +++ b/aleksis/apps/paweljong/views.py @@ -88,7 +88,7 @@ def manage_events(request: HttpRequest) -> HttpResponse: # Get all registrations now = timezone.datetime.today() - events = Event.objects.filter(date_event__gte=now) + events = Event.objects.all() # Get filter events_filter = EventFilter(request.GET, queryset=events)