silentsokolov / django-admin-rangefilter

A Django app that lets you filter data by date range and numeric range in the admin UI
MIT License
721 stars 106 forks source link

Custom title for rangefilter #33

Closed donon85 closed 5 years ago

donon85 commented 5 years ago

Is it possible to pass custom title to rangefilter ?

silentsokolov commented 5 years ago

The title is name a model's field. If you need other the title override the template rangefilter/templates/rangefilter/date_filter.html.

Gilbishkosma commented 5 years ago

@silentsokolov Can you show an example of how to do the custom title?