From: Frédéric Péters Date: Fri, 26 Mar 2021 10:11:06 +0000 (+0100) Subject: import reverse from new location (compat with django 2.2) X-Git-Tag: v2022~6 X-Git-Url: https://git.0d.be/?p=chloro.git;a=commitdiff_plain;h=8c7be19f7d9441d6065683c986ab3c37062bd1b0 import reverse from new location (compat with django 2.2) --- diff --git a/chloro/monkeypatch.py b/chloro/monkeypatch.py index 436b0cd..62ce971 100644 --- a/chloro/monkeypatch.py +++ b/chloro/monkeypatch.py @@ -14,7 +14,7 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -from django.core.urlresolvers import reverse +from django.urls import reverse from django.forms.utils import flatatt from django.template.loader import render_to_string from django.utils.encoding import force_text