Re: [mezzanine-users] Overriding change_list.html for custom app

2015-11-19 Thread Joseph Mohan
You sir are a gentleman!. thanks, exactly what i was looking for On Thursday, 19 November 2015 18:04:36 UTC, 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

Re: [mezzanine-users] Overriding change_list.html for custom app

2015-11-19 Thread Eduardo Rivas
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

Re: [mezzanine-users] Overriding change_list.html for custom app

2015-11-19 Thread Eduardo Rivas
Also, you were looking at the official grappelli repo. Mezzanine uses a custom fork (grappelli-safe), which is the one I linked to in my previous message. -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and

[mezzanine-users] Overriding change_list.html for custom app

2015-11-19 Thread Joseph Mohan
I'm trying to override the change_list.html template (to add a button) for a custom app (my_cms) If i get the code from django's admin 'contrib/admin/templates/admin/change_list.html to override it messes up mezzanines beautiful template.. I can't find mezzanine's (or grappelli's?)