Skip to content

Conversation

@DhavalGojiya
Copy link

Upgrade django-db-mailer for compatibility with Django 4.2+

  • Replaced deprecated ugettext_lazy() with gettext_lazy() in accordance with Django 4.2+ standards. Issue #130
  • Updated deprecated url() imports with re_path() from django.urls to ensure compatibility. Issue #130
  • Modified NullBooleanField() to BooleanField(null=True) in models to remove deprecated field usage. Issue #126
  • General cleanup of outdated imports and syntax.
  • Verified changes with test cases and confirmed compatibility with Django 4.2 LTS and higher.

This commit ensures the library continues to function with modern versions of Django while maintaining backward compatibility where possible.

- Included migration file to reflect changes made for Django 4.2+ compatibility.
- Ensures database schema is consistent with the updated codebase.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant