From 3b671732319aa14f194821a8f547ae280e1e0648 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 1 Sep 2021 17:58:56 +0200 Subject: Migration to Django 2.2 - missing on_delete - django.urls import reverse --- archaeological_operations/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archaeological_operations/tests.py') diff --git a/archaeological_operations/tests.py b/archaeological_operations/tests.py index e7cbe670c..e70b701c4 100644 --- a/archaeological_operations/tests.py +++ b/archaeological_operations/tests.py @@ -30,10 +30,10 @@ from django.conf import settings from django.contrib.auth.models import Group from django.contrib.contenttypes.models import ContentType from django.core.files.uploadedfile import SimpleUploadedFile -from django.core.urlresolvers import reverse from django.db.models import Q from django.test import tag from django.test.client import Client +from django.urls import reverse from django.utils.text import slugify from django.contrib.auth.models import User, Permission -- cgit v1.2.3