Views¶
- class tom_catalogs.views.CatalogQueryView(**kwargs)¶
View for querying a specific catalog.
Constructor. Called in the URLconf; can contain helpful extra keyword arguments, and other things.
- form_class¶
alias of
CatalogQueryForm
- form_valid(form)¶
Ensures that the form parameters are valid and runs the catalog query.
- Parameters:
form (CatalogQueryForm) – CatalogQueryForm with required parameter`s
- get_success_url()¶
Redirects to the
TargetCreateView
. Appends the target parameters to the URL as query parameters in order to autofill theTargetCreateForm
, including any additional names returned from the query.