It's is usally called safe delete or soft delete or even logical delete. 
There are some approach to that on Django with pros and cons, I suggest you 
to research a little bit to see whats is best for you.

Some material on the subject

https://medium.com/@adriennedomingus/soft-deletion-in-django-e4882581c340

Em terça-feira, 11 de dezembro de 2018 10:31:22 UTC-2, Rupam Hazra escreveu:
>
> Hi all,
>
> I have project model.one functionality is when a project delete only* 
> is_deleted* field modified by 1 so that in reality it does not delete 
> from database just the status changed.That means i want to update the 
> is_deleted field without any form.
>
>
>
>
>

-- 
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/fc4924ca-578a-4233-8ee3-85031b733b36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to