import reverse from new location (compat with django 2.2)
authorFrédéric Péters <fpeters@0d.be>
Fri, 26 Mar 2021 10:11:06 +0000 (11:11 +0100)
committerFrédéric Péters <fpeters@0d.be>
Fri, 26 Mar 2021 10:11:06 +0000 (11:11 +0100)
chloro/monkeypatch.py

index 436b0cd..62ce971 100644 (file)
@@ -14,7 +14,7 @@
 # You should have received a copy of the GNU Affero General Public License
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
-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