Forms¶
- class tom_catalogs.forms.CatalogQueryForm(*args, **kwargs)¶
Form used for catalog harvesters
CatalogQueryView
.- get_catalog_choices()¶
Returns a list of catalog choices for the form including Help text if available :return:
- get_target()¶
Queries the specific catalog via the search term and returns a
Target
representation of the result.- Returns:
Target
instance of the catalog query result- Return type:
Target