Django-filter: Required fields

Created on 20 Nov 2015  路  2Comments  路  Source: carltongibson/django-filter

I was looking over the docs but couldn't find any mention of required fields. Is there are good way to indicate a filter field is required to be set?

Most helpful comment

Adding "required = True" works for me, but is undocumented. I was thinking of adding a doc pull request for this.

All 2 comments

Adding "required = True" works for me, but is undocumented. I was thinking of adding a doc pull request for this.

Nice, thank you for this. :+1:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lalzada picture lalzada  路  3Comments

jnegro picture jnegro  路  3Comments

gsvr picture gsvr  路  3Comments

GuillaumeCisco picture GuillaumeCisco  路  3Comments

csarcom picture csarcom  路  3Comments