Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UPDATED] -- Upgraded django-db-mailer for Django 4.2+ compatibility by replacing deprecated imports and fields. #131

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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