Metadata-Version: 2.1
Name: audit-trail-logger
Version: 0.1.2
Summary: A Django package for logging actions with user and object details
Home-page: https://github.com/sardareurvashi05/audit-trail-logger
Author: Urvashi Sardare
Author-email: urvashisardare@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# Django Audit Log

A simple Django package for logging user actions on objects within the application.

## Installation

Install via pip:

pip install audit-trail-logger

1. Add auditlog to INSTALLED_APPS in your Django settings. 
2. Use the audit_log decorator on your views or model methods.
    from auditlog.decorators import audit_log 
    @audit_log(action_type='create', object_type='Product') 
    def create_product(request): 
        ## Your logic for creating the product pass

