Custom django menu and page

2013-10-11 Thread Juan Antonio García Cano
In my django admin site, i have the menu with the name of my app and in this section all the models that i have registered in admin.py I want to know if it is posible to put in the main menu and submenu a custom entry, with custom templates. (These pages will be only for work and show data, the

Call action with a link in the admin site

2013-07-04 Thread Juan Antonio García Cano
In the admin.py i have this function: actions = ['generar_pdf'] def generar_pdf(self, request, queryset): ... (This function make a PDF of the object selected) And i show one button in the list_display (of the admin site) with this function: def boton_mail(self,obj): return m