From a381456229f015fc5a407bcddcc89ea5d8aff213 Mon Sep 17 00:00:00 2001 From: Jonas Carson Date: Thu, 21 Nov 2024 12:43:24 -0800 Subject: [PATCH] Minor linting changes --- config/settings/base.py | 2 +- config/urls.py | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/config/settings/base.py b/config/settings/base.py index 6dc1850a..08ed3bcf 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -298,7 +298,7 @@ "socialaccount_signup", "admin:index", "admin:login", - "favicon" + "favicon", ] # django-dbbackup diff --git a/config/urls.py b/config/urls.py index 28948cce..df1659ca 100644 --- a/config/urls.py +++ b/config/urls.py @@ -1,7 +1,7 @@ from django.conf import settings from django.conf.urls.static import static -from django.templatetags.static import static as static_url_tag from django.contrib import admin +from django.templatetags.static import static as static_url_tag from django.urls import include, path from django.views import defaults as default_views from django.views.generic import TemplateView @@ -24,7 +24,11 @@ "gregor_anvil/", include("gregor_django.gregor_anvil.urls", namespace="gregor_anvil"), ), - path("favicon.ico", RedirectView.as_view(url=static_url_tag("images/favicons/favicon_1.jpg"), permanent=True), name="favicon"), + path( + "favicon.ico", + RedirectView.as_view(url=static_url_tag("images/favicons/favicon_1.jpg"), permanent=True), + name="favicon", + ), ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)