+3
-2
@@ -4,7 +4,6 @@ from django.conf import settings
|
||||
from django.conf.urls.static import static
|
||||
from django.contrib import admin
|
||||
from django.contrib.auth import views as auth_views
|
||||
from django.templatetags.static import static as static_url
|
||||
from django.urls import include, path
|
||||
from django.views.generic import RedirectView
|
||||
|
||||
@@ -13,14 +12,16 @@ from apps.core.views import (
|
||||
demo_login,
|
||||
entra_callback,
|
||||
entra_login,
|
||||
robots_txt,
|
||||
)
|
||||
|
||||
urlpatterns = [
|
||||
path(
|
||||
"favicon.ico",
|
||||
RedirectView.as_view(url=static_url("favicon.svg"), permanent=True),
|
||||
RedirectView.as_view(url=f"{settings.STATIC_URL}favicon.svg", permanent=True),
|
||||
name="favicon",
|
||||
),
|
||||
path("robots.txt", robots_txt, name="robots-txt"),
|
||||
path("admin/", admin.site.urls),
|
||||
path(
|
||||
"login/",
|
||||
|
||||
Reference in New Issue
Block a user