API-Performance, Anfragebegrenzung, Logging, Suche, eindeutiges Panel
- API /gd/api/v1/folgen/: 5 statt 2.601 Abfragen (2,1 s -> 0,3 s), Ausgabe unverändert; Throttling 60/min pro IP für anonyme Nutzer - IP-Erkennung nach gd/netz.py ausgelagert (Video-Meldung + API) - Logging von Warnungen/Fehlern nach LOG_DIR/django.log (rotierend), in Tests stumm - Suche: mindestens 2 Zeichen, 25 Fragen pro Seite mit Navigation - FolgePanel: UniqueConstraint eine_person_pro_folge (Migration 0011), Prüfung im Intern-Formular, Panel-Auswahl bleibt nach Fehlern erhalten - 12 neue Tests (51 insgesamt), README und Changelog aktualisiert Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1091c90c1e
commit
d4695f43b7
16 files changed
+389
-52
No files matched your search
@@ -0,0 +1,17 @@
|
||||
# Generated by Django 5.2.11 on 2026-10-22 21:30
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('gd', '0010_alter_kategorie_options_kategorie_sort_order'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddConstraint(
|
||||
model_name='folgepanel',
|
||||
constraint=models.UniqueConstraint(fields=('folge', 'team_member'), name='eine_person_pro_folge'),
|
||||
),
|
||||
]
|
||||
Reference in new issue
Block a user