Lokalita filtry a tabulky

Definice filtrů a tabulek

class lokalita.filters.LokalitaFilter(*args, **kwargs)

Třída pro zakladní filtrování lokality a jejich potomků.

filter_queryset(queryset)

Filter the queryset with the underlying form’s cleaned_data. You must call is_valid() or errors before calling this method.

This method should be overridden if additional filtering needs to be applied to the queryset before it is cached.

filter_popisne_udaje(queryset, name, value)

Metóda pro filtrování podle názvu, popisu, uživatelského označení a poznámek.

class lokalita.filters.LokalitaFilterFormHelper(form=None)

Třída pro správne zobrazení filtru.

class lokalita.tables.LokalitaTable(*args, **kwargs)

Class pro definování tabulky pro lokaity použitých pro zobrazení přehledu lokalit a exportu.

get_all_idents()

Vrátí seznam identifikátorů archeologických záznamů pro lokalitu.