Доработали фильт в реестре заданий
All checks were successful
Deploy MES Core / deploy (push) Successful in 10s
All checks were successful
Deploy MES Core / deploy (push) Successful in 10s
This commit is contained in:
@@ -16,10 +16,13 @@ Including another URLconf
|
||||
"""
|
||||
from django.contrib import admin
|
||||
from django.urls import path, include
|
||||
from django.views.generic import RedirectView
|
||||
from django.templatetags.static import static as static_url
|
||||
from django.conf.urls.static import static # <--- Добавьте эту строку
|
||||
from core import settings
|
||||
|
||||
urlpatterns = [
|
||||
path('favicon.ico', RedirectView.as_view(url=static_url('favicon.svg'), permanent=True)),
|
||||
path('admin/', admin.site.urls),
|
||||
# Добавь эту строку, она подключит login, logout и прочие стандартные пути
|
||||
path('accounts/', include('django.contrib.auth.urls')),
|
||||
|
||||
Reference in New Issue
Block a user