- Dokument-Vorlagen-Editor: create/edit/reset document templates (admin) - Upload-Portal: public portal for Nachweis uploads via token - Onboarding: invite Destinatäre via email with multi-step wizard - Bestätigungsschreiben: preview and send confirmation letters - Email settings: SMTP configuration UI - Management command: import_veranstaltung_teilnehmer for bulk participant import Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
27 lines
836 B
Python
27 lines
836 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("api/v1/", include("stiftung.api_urls")),
|
||
# Öffentliches Portal (kein Login erforderlich – tokenbasiert)
|
||
path("portal/", include("stiftung.portal_urls")),
|
||
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)
|