this library adds 'created_at', 'updated_at' and 'delete_at' fields like a rail apps in django, also added soft delete method
this library adds ‘created_at’, ‘updated_at’ and ‘delete_at’ fields like a rail apps in django, also added soft delete method.
pip install django-loggable
How to start
1.- Add to django-loggable in the django apps:
INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', ... 'django-loggable' ... ]
2.- Extends LoggableModel in the model to use:
class MyModel(LoggeableModel): field = models.CharField(max_length=20)
3.- Add to django-admin:
class ContactAdmin(LoggeableAdmin): pass ... admin.site.register(Contact, ContactAdmin)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for django_loggable-0.2-py3-none-any.whl