CHSCodeForChange / Sapphire-Web

The website/backend repository for Sapphire, a platform to help organizations manage volunteers.
https://sapphire-web.herokuapp.com
GNU General Public License v3.0
8 stars 2 forks source link

Redirect from "deleteEvent" always goes to "add" without looking at type #18

Closed jpaav closed 6 years ago

jpaav commented 6 years ago

This means that when deleting a normal event, you always get thrown back to the single event add page which is quite annoying. Currently, since the redirect value is sent via query and the type is stored as a query, I do not know how django would react to sending a query within a query. I do not think it would behave in a beneficial way but haven't yet tested this.