From 382952a6ad35ea0992eb531b1b4a7bcebb04872a Mon Sep 17 00:00:00 2001 From: Ben Sturmfels Date: Wed, 20 Mar 2024 17:01:10 +1100 Subject: [PATCH] Remove unnecessary `admin.autodiscover()` Since Django 1.7 this is done automatically. --- conservancy/urls.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/conservancy/urls.py b/conservancy/urls.py index 53856bdf..0189519d 100644 --- a/conservancy/urls.py +++ b/conservancy/urls.py @@ -24,8 +24,6 @@ from . import feeds, frontpage, sponsors from .fundgoal import views as fundgoal_views from . import views as static_views -admin.autodiscover() - urlpatterns = [ path('', frontpage.view), path('admin/', admin.site.urls),