silentsokolov / django-admin-rangefilter

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

Reset button appears wrong with Grappelli #14

Closed shaib closed 4 years ago

shaib commented 6 years ago

Hi,

I know that Grappelli isn't officially supported, but I wanted to share that under Django 1.11 with Grappelli 2.10.1, the date-range filter is working fine -- except that the Reset button's look is a bit off. We solved this by copying the date_filter.html template, and commenting out the styling for it (the .button, input[type=reset] block). It may or may not be desirable to solve this in a more systematic way.

silentsokolov commented 6 years ago

Can you make PR? Change the code that the template selection. I'll be happy if we have support Grappelli.

Anyway thanks!

shaib commented 6 years ago

I hope to be able to make a PR some time soon, but I don't know how soon