On Oct 4, 2017 4:36 AM, "Fellipe Henrique" <felli...@gmail.com> 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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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