Skip to content
Snippets Groups Projects
Verified Commit 0c001aa4 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

fix: don’t mix timezone-naive and timezone-aware objects

Closes #209
parent d95be15b
No related branches found
No related tags found
No related merge requests found
Pipeline #7728 passed
......@@ -62,7 +62,7 @@ class AuraScopeClaims(ScopeClaims):
if settings.FILTER_ACTIVE_SHOWS_USING["max_timeslot_start"]:
# use the `max_timeslot_start` annotation
now = timezone.datetime.now()
now = timezone.now()
owned_shows = owned_shows.filter(max_timeslot_start__gt=now)
public_shows = public_shows.filter(max_timeslot_start__gt=now)
......
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