Repository navigation
Releases: wkang0/django-audit-snap
Releases · wkang0/django-audit-snap
Release list
0.9.1
What's changed
Fixes
- Use raw strings for the South introspection rule patterns in
audit_log/models/fields.py. This removes invalid escape sequence warnings (\.) on modern Python. The patterns themselves are unchanged.
Docs and tooling
- Added
CONTRIBUTING.mdwith setup, test, and PR guidelines - Fixed the single-module test commands in
CONTRIBUTING.mdandCLAUDE.md. They now use fully qualified module paths (audit_log.tests.audit_log_tests.test_logging), because the old paths raised aRuntimeError - Pinned GitHub Actions versions in the PyPI publish workflow
- Updated
.gitignoreto exclude IDE files
v0.9.0 — Modern Django compatibility, fork rebranded as django-audit-snap
This release modernizes the original django-audit-log package (by Vasil Vangelovski / Atomidata)
for current Django and Python versions, and rebrands the fork as django-audit-snap.
What's New
Django compatibility
- Django 4.0+: replaced
ugettext_lazywithgettext_lazy - Django 2.0+:
is_authenticatedupdated from function call to property MiddlewareMixinadded for modern middleware compatibilitycurryreplaced withfunctools.partial/partialmethodfield.relreplaced withfield.remote_field
Audit log integrity
- FK fields now use
db_constraint=Falseso deleting a referenced object does not
cascade-delete audit log entries - Deleting a user sets
action_user=NULL(SET_NULL) rather than removing log entries
Code quality
OneToOneFieldconverted toForeignKeywithunique=Falsefor consistent behaviorunicode_literalsremoved; string formatting standardized- General readability improvements
Python support: 3.8–3.13
Django support: 3.2+
Upgrading
Import paths are unchanged — from audit_log.models import ... continues to work as before.
Only the PyPI package name changes from django-audit-log to django-audit-snap.