Доработали фильт в реестре заданий
All checks were successful
Deploy MES Core / deploy (push) Successful in 10s

This commit is contained in:
2026-03-29 20:29:05 +03:00
parent 7ef7409c7a
commit 6013d5854b
22 changed files with 431 additions and 63 deletions

View File

@@ -63,6 +63,7 @@ INSTALLED_APPS = [
'django.contrib.messages',
'django.contrib.staticfiles',
'shiftflow', # Вот это допиши обязательно!
'warehouse',
]
MIDDLEWARE = [

View File

@@ -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')),