Query

Declare a query language. Example:

class CarQuery(Query):
    make = Variable.choice(choices=['Toyota', 'Volvo', 'Ford])
    model = Variable()

query_set = Car.objects.filter(CarQuery(request=request).to_q())
type variables:list of Variable :type request: django.http.request.HttpRequest

Refinable members

  • endpoint
  • endpoint_dispatch_prefix
  • form_class
  • gui
  • member_class

Defaults

  • endpoint__errors
    • tri_query.default_endpoint__errors
  • endpoint__gui
    • tri_query.default_endpoint__gui
  • endpoint_dispatch_prefix
    • query