Django generic view Delete but not immediately
User sometimes do things they should not do and if you ask them they say I don't know... Is there a way to alter the default behavior of deleteview? Someway to create a bin table where all deleted records go, with a field of who and when the deletion has been made? from django.views.generic.edit import DeleteView class EntryDeleteView(DeleteView): model = MYMODEL success_url = reverse_lazy('mymodel_app:mymodel') Should I replace it with a request and create another model same as the one that should be deleted and use this model for logging?
You may want to look at django-reversion. You can store history changes to your model and even restore deleted objects.
yeah you can do that obviously by creating a sub class and inherit from the DeleteView. do your logic there what you want.
Django - periodic tasks - django-crontab
How to add Latex editor to django application?
default entry for dropdown in django Form
Celery periodic task for many objects
Mongo Django GridOut object has no attribute 'readlines'
Celery with Supervisord workers are not working Isolated
Heroku gettext installation
django max and groupby together
Static files 404 not found error with ssl - Django + uWSGI + nginx
Flask-socketio instance not Emitting from an External Process (Django)
mock.patch queryset in mongoengine
Spirit forum in Django
Configure heroku root domain in 123 reg
Django social authentication client id is not provided
Django REST Framework pagination links do not use HTTPS
How can I allow user to download or view a PDF online that I am hosting in my static folder?