Skip to content

Commit

Permalink
Show new events at the top of the events page
Browse files Browse the repository at this point in the history
  • Loading branch information
dmptrluke committed Mar 5, 2024
1 parent 79d4458 commit b62fa1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/events/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class EventList(ListView):
queryset = Event.objects.all().prefetch_related('tags')
ordering = 'start'
ordering = '-start'
template_name = 'event_list.html'
context_object_name = 'event_list'

Expand Down

0 comments on commit b62fa1f

Please sign in to comment.