From cdb037a9c80cc0634acbd67aaa1b38048206e981 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 2 Aug 2022 21:33:48 +0100 Subject: [PATCH] Remove django admin --- website/settings.py | 1 - website/urls.py | 3 --- 2 files changed, 4 deletions(-) diff --git a/website/settings.py b/website/settings.py index b8db25f..0a3448d 100644 --- a/website/settings.py +++ b/website/settings.py @@ -50,7 +50,6 @@ INSTALLED_APPS = [ "generic_chooser", "wagtail_draftail_snippet", "django_rq", - "django.contrib.admin", "django.contrib.auth", "django.contrib.contenttypes", "django.contrib.sessions", diff --git a/website/urls.py b/website/urls.py index 5213fa3..c386cbc 100644 --- a/website/urls.py +++ b/website/urls.py @@ -1,5 +1,4 @@ from django.conf import settings -from django.contrib import admin from django.urls import include, path, re_path from wagtail import urls as wagtail_urls from wagtail.admin import urls as wagtailadmin_urls @@ -7,7 +6,6 @@ from wagtail.documents import urls as wagtaildocs_urls from wagtail.images.views.serve import ServeView urlpatterns = [ - path("django-admin/", admin.site.urls), path("admin/", include(wagtailadmin_urls)), path("documents/", include(wagtaildocs_urls)), path( @@ -19,7 +17,6 @@ urlpatterns = [ ServeView.as_view(action="redirect"), name="wagtailimages_serve", ), - path("django-rq/", include("django_rq.urls")), ]