Skip to content

Commit

Permalink
Minor linting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarson committed Nov 21, 2024
1 parent 777a730 commit a381456
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@
"socialaccount_signup",
"admin:index",
"admin:login",
"favicon"
"favicon",
]

# django-dbbackup
Expand Down
8 changes: 6 additions & 2 deletions config/urls.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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)


Expand Down

0 comments on commit a381456

Please sign in to comment.