DjangoGirls/djangogirls

AttributeError: 'str' object has no attribute 'year'

Closed this issue · 0 comments

Sentry Issue: DJANGO-GIRLS-WEBSITE-5V

AttributeError: 'str' object has no attribute 'year'
(1 additional frame(s) were not displayed)
...
  File "applications/views.py", line 21, in apply
    event = get_event(page_url, request.user.is_authenticated, False)
  File "core/utils.py", line 34, in get_event
    past = event.date <= now_approx