aboutsummaryrefslogtreecommitdiffstats
path: root/config/settings
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2020-04-26 09:51:48 +0100
committerMatthew Lemon <matt@matthewlemon.com>2020-04-26 09:51:48 +0100
commit898d216465a7768d1c713662bc65a4f48bec0fed (patch)
tree405561e43b48a33ebd53c4bb4551485c1afdabbc /config/settings
parent4b68f8c819653df773855371ca96ac977d689c7f (diff)
basic move to Django 3 and remove lots of requirements cruft from cookiecutter - running on Ubuntu 20.04/postgres 12
Diffstat (limited to 'config/settings')
-rw-r--r--config/settings/base.py1
-rw-r--r--config/settings/local.py15
2 files changed, 0 insertions, 16 deletions
diff --git a/config/settings/base.py b/config/settings/base.py
index be13ee7..fd3f502 100644
--- a/config/settings/base.py
+++ b/config/settings/base.py
@@ -81,7 +81,6 @@ THIRD_PARTY_APPS = [
"allauth",
"allauth.account",
"allauth.socialaccount",
- "rest_framework",
]
LOCAL_APPS = [
diff --git a/config/settings/local.py b/config/settings/local.py
index 34fc189..900d73a 100644
--- a/config/settings/local.py
+++ b/config/settings/local.py
@@ -32,21 +32,6 @@ EMAIL_BACKEND = env(
"DJANGO_EMAIL_BACKEND", default="django.core.mail.backends.console.EmailBackend"
)
-# django-debug-toolbar
-# ------------------------------------------------------------------------------
-# https://django-debug-toolbar.readthedocs.io/en/latest/installation.html#prerequisites
-INSTALLED_APPS += ["debug_toolbar"] # noqa F405
-# https://django-debug-toolbar.readthedocs.io/en/latest/installation.html#middleware
-MIDDLEWARE += ["debug_toolbar.middleware.DebugToolbarMiddleware"] # noqa F405
-# https://django-debug-toolbar.readthedocs.io/en/latest/configuration.html#debug-toolbar-config
-DEBUG_TOOLBAR_CONFIG = {
- "DISABLE_PANELS": ["debug_toolbar.panels.redirects.RedirectsPanel"],
- "SHOW_TEMPLATE_CONTEXT": True,
-}
-# https://django-debug-toolbar.readthedocs.io/en/latest/installation.html#internal-ips
-INTERNAL_IPS = ["127.0.0.1", "10.0.2.2"]
-
-
# django-extensions
# ------------------------------------------------------------------------------
# https://django-extensions.readthedocs.io/en/latest/installation_instructions.html#configuration