FILTERS_EMPTY_CHOICE_LABEL in Djangi Filters

FILTERS_EMPTY_CHOICE_LABEL:-

  • Set the default value for ChoiceFilter.empty_label. You may disable the empty choice by setting this to None.
  • Default value is '---------'

Comments

Popular posts from this blog

Messages Framework in Django

Forms in Django(bound, unbound, clean, is_valid, errors)

Advantages to using URLField() over TextField()