Remove unnecessary admin.autodiscover()

Since Django 1.7 this is done automatically.
This commit is contained in:
Ben Sturmfels 2024-03-20 17:01:10 +11:00
parent 618bb1e83d
commit 382952a6ad
Signed by: bsturmfels
GPG key ID: 023C05E2C9C068F0

View file

@ -24,8 +24,6 @@ from . import feeds, frontpage, sponsors
from .fundgoal import views as fundgoal_views from .fundgoal import views as fundgoal_views
from . import views as static_views from . import views as static_views
admin.autodiscover()
urlpatterns = [ urlpatterns = [
path('', frontpage.view), path('', frontpage.view),
path('admin/', admin.site.urls), path('admin/', admin.site.urls),