django-alphabetfilter icon indicating copy to clipboard operation
django-alphabetfilter copied to clipboard

can it work along with grappelli?

Open aleprovencio opened this issue 12 years ago • 2 comments

Hello, alphabetfilter works fine until I add grappelli to INSTALLED_APPS. One curious thing is that alphabetfilter does show an incorrecly vertical formated output (new lines separating each letter) when I have a search_fields attribute set on the ModelAdmin class, otherwise it looks like it was never installed.

aleprovencio avatar Jun 24 '13 20:06 aleprovencio

This is probably due to the fact that Grapelli has very different CSS and markup than the normal Django admin.

I don't use Grapelli personally so I can't help you with the differences. The alphafilter is designed to go in the date_hierarchy block, and has CSS specified in its template.

If you create a different change_list.html template for grapelli, I'll be happy to include it

coordt avatar Jun 26 '13 13:06 coordt

Yeah thats what I suspected, thanks for the info and your useful app, I think it should be part of Django by default.

aleprovencio avatar Jun 26 '13 16:06 aleprovencio