DjangoGirls / djangogirls

Website for DjangoGirls.org
http://djangogirls.org/
BSD 3-Clause "New" or "Revised" License
465 stars 286 forks source link

When copying the event we should use chosen website_slug from EventApplication #436

Open asendecka opened 7 years ago

asendecka commented 7 years ago

If we try to create a new event in the city where DG workshop already happened in the past, but we want to have customized website_slug which is different from the previous Event one, we will end up having problems creating the event, because our current copy_event code is copying all data from previous event, instead of using website_slug.

What is happening right now:

What we should do:

Opbeat error: https://opbeat.com/django-girls/djangogirlsorg/errors/81/

ramonsaraiva commented 6 years ago

@aniav are you working (or still going to work) on this?

aniav commented 6 years ago

@ramonsaraiva thanks for nudging, I have unassigned myself from this 👍

amakarudze commented 3 years ago

@marksweb how much of this issue is affected by the work you have done in Fix multiple object error on event view [#593] #614?

marksweb commented 3 years ago

@amakarudze What I did on that issue doesn't impact on this.

I didn't change anything with the way data is collected or the new Event objects are created.

I changed the way the event detail view is handled by having it use the data that originates from website_slug instead of city. So I think that's as close as I got.

Perhaps once I'm done with the stripe donation I could take a look at this.