On 20/11/2015 4:34 AM, Eduardo Rivas wrote:
That is the correct template.

You need to {% extends "admin/change_list.html" %} and override the complete object-tools block (assuming you will provide the correct markup for the list and the default buttons). Alternatively, you can override the object-tools-items block and simply add your own buttons as <li> elements after {{ block.super }}.

https://github.com/stephenmcd/grappelli-safe/blob/master/grappelli_safe/templates/admin/change_list.html#L69-L82

+1

This is exactly what I did the other day to override the template only for one particular model. You can specify the templates used for model admin
within the ModelAdmin class you create. Worked like a charm :)
https://docs.djangoproject.com/en/1.8/ref/contrib/admin/#custom-template-options

Seeya. Danny.

--
You received this message because you are subscribed to the Google Groups "Mezzanine 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to