django-rest-invitations
django-rest-invitations copied to clipboard
Silence deprecation warnings for Django 4
Removes these two warnings:
rest_invitations/urls.py:12: RemovedInDjango40Warning: django.conf.urls.url() is deprecated in favor of django.urls.re_path().
rest_invitations/serializers.py:17: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
Pull Request Test Coverage Report for Build 51
- 3 of 3 (100.0%) changed or added relevant lines in 2 files are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage increased (+0.09%) to 85.802%
| Totals | |
|---|---|
| Change from base Build 49: | 0.09% |
| Covered Lines: | 139 |
| Relevant Lines: | 162 |
💛 - Coveralls
Pull Request Test Coverage Report for Build 53
- 3 of 3 (100.0%) changed or added relevant lines in 2 files are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage increased (+0.09%) to 85.802%
| Totals | |
|---|---|
| Change from base Build 49: | 0.09% |
| Covered Lines: | 139 |
| Relevant Lines: | 162 |
💛 - Coveralls
I'm checking out this warning from the Travis builds:
WARNINGS:
?: (2_0.W001) Your URL pattern '^invitations/accept-invite/(?P<key>\w+)/?$' [name='accept-invite'] has a route that contains '(?P<', begins with a '^', or ends with a '$'. This was likely an oversight when migrating to django.urls.path().