DjangoGirls / djangogirls

Website for DjangoGirls.org

Home Page:http://djangogirls.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Event page throwing 500 error

vanessa opened this issue · comments

This event page shows a 500 error message when accessed: https://djangogirls.org/en/maceio/

Do we know what's causing this?

image

I'm not sure how we ended up with 2 events for /maceio/, but it is related to the page expecting to have a single event in this get_object_or_404 call event_obj = get_object_or_404(Event, page_url=page_url.lower()) (https://github.com/DjangoGirls/djangogirls/blob/main/core/views.py#L59)

#819 probably related

@ramonsaraiva thanks for looking into this! I'll close this one since it's most likely a duplicate of #819 and #818 as you mentioned