From 898d216465a7768d1c713662bc65a4f48bec0fed Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 26 Apr 2020 09:51:48 +0100 Subject: basic move to Django 3 and remove lots of requirements cruft from cookiecutter - running on Ubuntu 20.04/postgres 12 --- config/settings/base.py | 1 - config/settings/local.py | 15 --------------- requirements/base.txt | 4 ++++ 3 files changed, 4 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 diff --git a/requirements/base.txt b/requirements/base.txt index d3f17d8..a27fe4c 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -4,3 +4,7 @@ django==3.0 # pyup: < 3.0 # https://www.djangoproject.com/ django-environ # https://github.com/joke2k/django-environ django-allauth # https://github.com/pennersr/django-allauth django-crispy-forms # https://github.com/django-crispy-forms/django-crispy-forms + +# These were required for the basic run +python-slugify +argo2-cffi -- cgit v1.2.3