From 113f89731f1eff7a64847c593f1cfbff16fefe78 Mon Sep 17 00:00:00 2001 From: Oleh Paduchak Date: Mon, 6 Jan 2025 16:08:04 +0200 Subject: [PATCH] reverted silk being included --- app/settings.py | 3 --- app/urls.py | 1 - 2 files changed, 4 deletions(-) diff --git a/app/settings.py b/app/settings.py index 063e92b2..636dc875 100644 --- a/app/settings.py +++ b/app/settings.py @@ -83,7 +83,6 @@ # Application definition INSTALLED_APPS = [ - "silk", "django.contrib.auth", "django.contrib.contenttypes", "django.contrib.sessions", @@ -102,7 +101,6 @@ ASGI_APPLICATION = "app.asgi.application" MIDDLEWARE = [ - "silk.middleware.SilkyMiddleware", "corsheaders.middleware.CorsMiddleware", "django.middleware.security.SecurityMiddleware", "django.contrib.sessions.middleware.SessionMiddleware", @@ -170,7 +168,6 @@ }, } -SILKY_PYTHON_PROFILER = True DATABASE_ROUTERS = ["addon_service.osf_models.db_router.OsfDatabaseRouter"] REST_FRAMEWORK = { diff --git a/app/urls.py b/app/urls.py index f97bacad..9d8a7df2 100644 --- a/app/urls.py +++ b/app/urls.py @@ -14,5 +14,4 @@ RedirectView.as_view(url="/static/gravyvalet_code_docs/index.html"), name="docs-root", ), - path("silk/", include("silk.urls", namespace="silk")), ]