M1: Grundgerüst, Datenmodell und Admin

Django-5.2-Projekt mit uv, django-environ und Docker-Compose-Setup
(web + Postgres, WeasyPrint-Systembibliotheken im Image). Vollständiges
Datenmodell (Firma, Therapeut, Auftraggeber, Teilnehmer, Leistungsart,
Leistung, InvoiceLog, InvoiceCounter) mit Admin, Login-Flow und
Platzhalter-Dashboard. Fortschritt in FORTSCHRITT.md.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016yy3uodsai6Ytt3GJ7tBdz
This commit is contained in:
Claude
2026-07-10 23:53:56 +00:00
parent 7b60be2933
commit cfa2266dd9
31 changed files with 2044 additions and 0 deletions

17
.env.example Normal file
View File

@@ -0,0 +1,17 @@
# Kopiere diese Datei nach .env und passe die Werte an.
# Docker Compose liest .env für die Web- und DB-Container.
# Django
SECRET_KEY=change-me-to-a-long-random-value
DEBUG=1
ALLOWED_HOSTS=localhost,127.0.0.1
CSRF_TRUSTED_ORIGINS=http://localhost:8000,http://127.0.0.1:8000
# Postgres (von docker-compose.yml verwendet)
POSTGRES_DB=abrechnung
POSTGRES_USER=abrechnung
POSTGRES_PASSWORD=abrechnung
# Wird im Compose-File aus den POSTGRES_*-Werten zusammengesetzt; für lokalen
# (nicht-Docker) Betrieb hier eine eigene DATABASE_URL setzen, z.B.:
# DATABASE_URL=postgres://abrechnung:abrechnung@localhost:5432/abrechnung