Vittorino Parenti
unread,Feb 2, 2012, 5:00:23 AM2/2/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django-admin-tools
Hi,
if set colums = 3 and append more of 3 children my dashboard doesn't
show a correct template.
Example:
from admin_tools.dashboard import modules, Dashboard
class OfficeIndexDashboard(Dashboard):
def __init__(self, **kwargs):
super(OfficeIndexDashboard, self).__init__(**kwargs)
self.columns = 3
def init_with_context(self, context):
self.children.append(CustomerProcedures(),),
self.children.append(SupplierProcedures(),),
self.children.append(CustomerQuotations(),),
self.children.append(modules.RecentActions(_('Recent
Actions'), 5)),
Thanks,
Vittorino