vvangelovski / django-audit-log

Audit log for your Django models
Other
232 stars 93 forks source link

Upgrade to support django 4 #73

Closed aksharahegde closed 4 months ago

aksharahegde commented 1 year ago

Fixed. middleware backward competibility fix(models) on_delete error in AuthStampModel fix(package) curry import error

Djones4822 commented 10 months ago

Will be testing this for a new 4.2x project, will report any issues

Djones4822 commented 10 months ago

Not sure why the last commits reverted the ugettext change. Django deprecated ugettext in 2.2, I believe, and fully dropped it in 3.0 - definitely incompatible with 4.0 For backwards compatibility with <3.0 we could probably add an import check and an alias.

Otherwise haven't really gotten to test it much yet, hoping to put it through its paces soon though.

aksharahegde commented 10 months ago

hey @Djones4822 . something got messed up. I will update the PR by weekend. Thank you.

aksharahegde commented 7 months ago

fixed the mess that happened with gettext_lazy and ugettext_lazy imports. Its working now.