Files
stiftung-management-system/app/core/urls.py
Stiftung Development e0c7d0e351 Format code with Black and isort for CI/CD compliance
- Apply Black formatting to all Python files in core and stiftung modules
- Fix import statement ordering with isort
- Ensure all code meets automated quality standards
- Resolve CI/CD pipeline formatting failures
- Maintain consistent code style across the entire codebase
2025-09-06 21:04:07 +02:00

23 lines
660 B
Python

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.urls import include, path
from stiftung.views import home
urlpatterns = [
path("", include("stiftung.urls")),
path("admin/", admin.site.urls),
# Authentication URLs
path(
"login/",
auth_views.LoginView.as_view(template_name="registration/login.html"),
name="login",
),
path("logout/", auth_views.LogoutView.as_view(), name="logout"),
]
if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)