On Oct 4, 2017 4:36 AM, "Fellipe Henrique" <[email protected]> wrote:

I read the docs, but doesn't work for me... still delete the record... I
looking something directly to model, not using view... there's any way to
do that?


What exactly did you "do"? The on_delete keyword is applied at the model
level, not the view.

-James

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2Be%2BciVE65oLLVRP7JC1TvOoF_h3agPUxtCM%2BJL9R1%2Bw40cgEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to