Open NMelis opened 6 years ago
This does not feel quite right... let it simmer a bit more. But many thanks for the proposal and your contribution!
@NMelis, I sincerely hope that it's okay to get back to this four years later! I really appreciate your contribution and want to include it, but I think the get_setting
template tag is too general. Can you please add a template tag admin_listfilter_dropdown_threshold
that fetches the threshold from settings and if it's missing, returns the default value? Can you please name the file admin_listfilter_dropdown_threshold.py
instead of custom_tags.py
? Can you please also document the setting?
Added the ability to specify the length in the settings.py array itself at which the dropdown will work