get_object_or_404 místo ručních kontrol #182
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refaktor/get-object-or-404"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CisloViewaPosledniCisloVysledkovkaView:get_object()už není kopie zdrojáku Djanga, je to jenget_object_or_404(queryset, ...).count() != 1+get()(až 7 dotazů navíc) se galerie načte jednou a soubor se hledá přesgalerie.soubory.Stavové kódy jsou stejné jako na develop (ověřeno test clientem: existující/neexistující číslo, ročník, galerie, soubor z jiné galerie).
🤖 Generated with Claude Code