- Neues Modell DokumentDatei mit PostgreSQL FTS (SearchVectorField, GinIndex) - Upload-Pfad: dokumente/YYYY/MM/<uuid>/dateiname - 7 DMS-Views: list, detail, download, upload (HTMX Drag&Drop), delete, edit, search_api - Templates: list, detail, edit, upload mit Drag&Drop-Zone, Partials - URLs: /dms/ komplett verdrahtet - Sidebar: DMS als Primäreintrag, Paperless als Legacy - Migrationsskript: manage.py migrate_paperless_dokumente (DokumentLink → DokumentDatei) - compose.yml: paperless-Dienst deaktiviert (Legacy-Kommentarblock) - Migration 0048 angewendet Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
54 lines
1.0 KiB
Python
54 lines
1.0 KiB
Python
# models/ package – re-exports all models for backward compatibility
|
||
# Phase 0: Vision 2026 – Code-Refactoring
|
||
|
||
from .system import ( # noqa: F401
|
||
AppConfiguration,
|
||
ApplicationPermission,
|
||
AuditLog,
|
||
BackupJob,
|
||
CSVImport,
|
||
HelpBox,
|
||
)
|
||
|
||
from .dokumente import ( # noqa: F401
|
||
DokumentDatei,
|
||
)
|
||
|
||
from .land import ( # noqa: F401
|
||
DokumentLink,
|
||
Land,
|
||
LandAbrechnung,
|
||
LandVerpachtung,
|
||
Paechter,
|
||
)
|
||
|
||
from .finanzen import ( # noqa: F401
|
||
BankTransaction,
|
||
Rentmeister,
|
||
StiftungsKonto,
|
||
Verwaltungskosten,
|
||
)
|
||
|
||
from .destinataere import ( # noqa: F401
|
||
Destinataer,
|
||
DestinataerEmailEingang,
|
||
DestinataerNotiz,
|
||
DestinataerUnterstuetzung,
|
||
Foerderung,
|
||
Person,
|
||
UnterstuetzungWiederkehrend,
|
||
VierteljahresNachweis,
|
||
)
|
||
|
||
from .geschichte import ( # noqa: F401
|
||
GeschichteBild,
|
||
GeschichteSeite,
|
||
StiftungsKalenderEintrag,
|
||
)
|
||
|
||
from .veranstaltungen import ( # noqa: F401
|
||
BriefVorlage,
|
||
Veranstaltung,
|
||
Veranstaltungsteilnehmer,
|
||
)
|