djangocon / 2019.djangocon.eu

🚲 DjangoCon Europe 2019 website
https://2019.djangocon.eu/
MIT License
13 stars 16 forks source link

Download Invoice page is showing 500 error #261

Closed heykarimoff closed 5 years ago

heykarimoff commented 5 years ago

In Ticket Holder Area, when "Download Invoice" is clicked it is showing 500 error page. Link to the page: https://members.2019.djangocon.eu/tickets/tickets/

benjaoming commented 5 years ago

Thanks a lot for reporting this @heykarimoff

We made a lot of changes yesterday to accommodate a specific order that had many different ticket types in the same go :) And then we forgot about the oldest problem in Django: TypeError: 'ManyRelatedManager' object is not iterable :tada:

benjaoming commented 5 years ago

(which happened because we swapped out a reverse relation as in related_name with a ManyToManyField)

heykarimoff commented 5 years ago

@benjaoming I checked out it's working fine now. Thanks you.👍