diff --git a/core/settings.py b/core/settings.py index d639b0eb..6a6f7f17 100644 --- a/core/settings.py +++ b/core/settings.py @@ -54,13 +54,12 @@ "django.contrib.humanize", "data_registry", "markdownx", - "exporter", ] MIDDLEWARE = [ "django.middleware.security.SecurityMiddleware", # Add before GZipMiddleware to modify its response. - "exporter.middleware.ContentEncodingMiddleware", + "data_registry.middleware.ContentEncodingMiddleware", # This site is not affected by BREACH. # https://docs.djangoproject.com/en/4.2/ref/middleware/#django.middleware.gzip.GZipMiddleware "django.middleware.gzip.GZipMiddleware", diff --git a/core/urls.py b/core/urls.py index 73a61136..8ba19bde 100644 --- a/core/urls.py +++ b/core/urls.py @@ -4,7 +4,6 @@ urlpatterns = [ path("", include("data_registry.urls"), name="data-registry"), - path("", include("exporter.urls"), name="exporter"), path("admin/", admin.site.urls), path("markdownx/", include("markdownx.urls")), ] diff --git a/exporter/middleware.py b/data_registry/middleware.py similarity index 100% rename from exporter/middleware.py rename to data_registry/middleware.py diff --git a/data_registry/templates/includes/files.html b/data_registry/templates/includes/files.html index 8859771b..dbd26438 100644 --- a/data_registry/templates/includes/files.html +++ b/data_registry/templates/includes/files.html @@ -4,13 +4,13 @@