django-messages icon indicating copy to clipboard operation
django-messages copied to clipboard

Django 4.x compatability

Open htukiain opened this issue 3 years ago • 4 comments

With Django 4.1.1. the only error I have received is:

{% if message.recipient.pk == user.pk %} <a class="save btn btn-primary" href="{% url 'messages_reply' message.id %}">{% trans "Reply" %}</a> {% endif %} I could make PR but unfortunately this repo seems to be unmaintained....

htukiain avatar Sep 14 '22 16:09 htukiain

Feel free to make a PR. If it changes only the neccessary parts and is easy to review it might get merged. Thanks!

arneb avatar Sep 14 '22 18:09 arneb

Excellent! Here you are: https://github.com/arneb/django-messages/pull/152

htukiain avatar Sep 14 '22 18:09 htukiain

just found there are some more incompatibilities:

  • Django 4.0 removed translation features e.g. ugettext_lazy
  • django.utils.encoding.python_2_unicode_compatible isn't available anymore since django 3.0

@arneb any chance to get this app up to date?

frankystone avatar Feb 07 '23 16:02 frankystone

Any change to get this updated for Django 4.x

alexclinky avatar Jun 03 '23 10:06 alexclinky