neutronX / django-markdownx

Comprehensive Markdown plugin built for Django
https://neutronx.github.io/django-markdownx/
Other
863 stars 153 forks source link

Deprecation, removes in Django 4 Warnings #167

Closed braunsonm closed 4 years ago

braunsonm commented 4 years ago

The following warnings are now generated when using the library. Requires a simple update to the function you're calling.

WARNING 2019-12-19 19:17:35,240 warnings 6 139806041357192 /app/env/lib/python3.7/site-packages/markdownx/settings.py:89: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
365   ('en', _('English')),
366 WARNING 2019-12-19 19:17:35,241 warnings 6 139806041357192 /app/env/lib/python3.7/site-packages/markdownx/settings.py:90: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
367   ('pl', _('Polish')),
368 WARNING 2019-12-19 19:17:35,242 warnings 6 139806041357192 /app/env/lib/python3.7/site-packages/markdownx/settings.py:91: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
369   ('de', _('German')),
370 WARNING 2019-12-19 19:17:35,242 warnings 6 139806041357192 /app/env/lib/python3.7/site-packages/markdownx/settings.py:92: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
371   ('fr', _('French')),
372 WARNING 2019-12-19 19:17:35,243 warnings 6 139806041357192 /app/env/lib/python3.7/site-packages/markdownx/settings.py:93: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
373   ('fa', _('Persian')),
374 WARNING 2019-12-19 19:17:35,243 warnings 6 139806041357192 /app/env/lib/python3.7/site-packages/markdownx/settings.py:94: RemovedInDjango40Warning: django.utils.translation.ugettext_lazy() is deprecated in favor of django.utils.translation.gettext_lazy().
375   ('du', _('Dutch'))