#13629: Admin Changelist: add app-model_name class to <body> tag ----------------------------------+----------------------------------------- Reporter: naos | Owner: nobody Status: new | Milestone: Component: django.contrib.admin | Version: 1.2 Keywords: | Stage: Unreviewed Has_patch: 0 | ----------------------------------+----------------------------------------- Change form pages have "app-model_name" classes in body tag, for eg:[[BR]] <body class="main-client change-form">. Change list pages don't, which[[BR]] makes them unrecognizable in JavaScript code.
Example use case: I'm currently implementing jQuery tooltips for searchbars to give user[[BR]] information about which model's fields are searchable in each change list. Currently to achieve this I had to override ModelAdmin.changelist_view (to[[BR]] add model._meta to context) and change_list.html template. This is ok but I[[BR]] think it would be nice to have it already done in django? -- Ticket URL: <http://code.djangoproject.com/ticket/13629> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.