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 tom_catalogs.forms.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 the TargetCreateForm, including any additional names returned from the query.