pinax / pinax-models

Provide Support for Logical Deletes on Models and in the Django Admin
http://pypi.python.org/pypi/pinax-models
MIT License
90 stars 25 forks source link

Remove fields date_created and date_modified #17

Open ron8mcr opened 7 years ago

ron8mcr commented 7 years ago

These fields are redundant for logical deletion. Model itself named LogicalDeleteModel and seeing this fields inside it are surprising.

Also, there are a few apps that provide similarly functionality:

So if somebody started to use one of this app or some another, and then wants to start using pinax-models with logical delete feature, he will get confusing by duplicating fields

jayvdb commented 2 years ago

django-model-utils also includes https://django-model-utils.readthedocs.io/en/latest/models.html#softdeletablemodel , which provides soft-deletion. If you only want some fields, and not all, maybe better to just use that package.