issues
search
vvangelovski
/
django-audit-log
Audit log for your Django models
Other
232
stars
93
forks
source link
Django 2.0 compatibility
#55
Closed
decibyte
closed
6 years ago
decibyte
commented
6 years ago
Changes:
Add
on_delete
to foreign keys. I assume it's better to allow nulls than to have auth stamped models disappear with deleted users.
Reference remote fields by their new name (
field.rel
->
field.remote_field
).
Change how
related_name
is determined for audit log fields. Include the model name in the new name, to avoid clashes between models.
Changes:
on_delete
to foreign keys. I assume it's better to allow nulls than to have auth stamped models disappear with deleted users.field.rel
->field.remote_field
).related_name
is determined for audit log fields. Include the model name in the new name, to avoid clashes between models.