Re: Django update one field by DeleteView

2018-12-11 Thread Derek
Have a look at: https://github.com/grantmcconnaughey/django-field-history and https://django-simple-history.readthedocs.io/en/latest/ On Tuesday, 11 December 2018 14:31:22 UTC+2, Rupam Hazra wrote: > > Hi all, > > I have project model.one functionality is when a project delete only* > is_dele

Re: Django update one field by DeleteView

2018-12-11 Thread Sidnei Pereira
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-e

Django update one field by DeleteView

2018-12-11 Thread Rupam Hazra
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