Closed kevinetienne closed 9 years ago
It looks like we are allowing user deletion in the UserDetail
view.
Would that make sense to add it to the profile view too? The idea is to be able to allow user to call delete for its profile (for example in djangular-rest-framework
)
Aah ok that makes sense. It would be a nice way for users to be able to delete themselves!
I think that it might be wise for us to explicitly set on_delete
for all FKs to users in future.
on_delete
looks interesting thanks, I wasn't aware about it.
It does look interesting, but I would expect us to want the default CASCADE
behaviour in most cases.
updated
Why?