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 --- example_project/settings.py | 2 +- example_project/urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'example_project') diff --git a/example_project/settings.py b/example_project/settings.py index 53f15cc38..16a63d49a 100644 --- a/example_project/settings.py +++ b/example_project/settings.py @@ -154,7 +154,7 @@ ROOT_URLCONF = "example_project.urls" AUTHENTICATION_BACKENDS = ("ishtar_common.backend.ObjectPermBackend",) INSTALLED_APPS = [ - "registration", + "django_registration", "ishtar_common", "archaeological_files_pdl", "archaeological_files", diff --git a/example_project/urls.py b/example_project/urls.py index 79645b8ae..8ccc28815 100644 --- a/example_project/urls.py +++ b/example_project/urls.py @@ -11,7 +11,7 @@ admin.autodiscover() urlpatterns = [ - url(r'^accounts/', include('registration.urls')), + url(r'^accounts/', include('django_registration.urls')), ] -- cgit v1.2.3