|
djangoissues
Django IssuesThere are some known problems with the Django admin-interface. I´m going to list them here in order to avoid confusion (because the problems are not related to Grappelli whatsoever). See also: http://code.djangoproject.com/wiki/DjangoDesign If you think there´s something missing here (or if an Issue has been resolved), please drop me an email. Reordering Edit-InlinesUPDATE: We´ve integrated a pure js-based-solution in order to drag/drop inlines with Grappelli 2.2 and newer. Because in case of errors, formsets are not returned in the right order, reordering inlines is currently not possible. see http://code.djangoproject.com/ticket/14238 Translating App NamesIt´s not possible to translate the names of apps within the admin-interface which leads to a strange language mix (esp. on the index page). Update (2010-09): Currently, this doesn´t work at all (even with using locales). The Admin Index SiteCurrently, the admin index site reflects the structure of your applications/models. We don´t think editors (who use the admin site) are interested in the structure of your project/applications. What they want is the most reasonable list of models, divided into different sections (not necessarily apps). Admin Site Objects and Related LookupsIf you use different Admin Site Objects, you have to register every related model within every site object you want to use that model for. Grappelli assumes that you registered all models with your main adminsite. Searching Generic RelationsIt´s not possible to use a "content_object" within the search_fields. As far as I know, there´s no workaround. Messages in AdminIt´s currently not possible to distinguish between Success- and Error-Messages. (Solved with the most recent version of Django.) M2M RawID Field has no Unicode representationsee http://code.djangoproject.com/ticket/10293 ... the Patch provided there does work. Popups, Actions and list_editablesWith the current version of Django, Actions are visible within popups but delete confirmation doesn´t handle popups correctly. Moreover, list_editables are also visible. From our point of view, editing elements shouldn´t be possible with popups (and hasn´t been before actions are introduced). see http://code.djangoproject.com/ticket/11700 Admin DocumentationThe document structure of the admin_doc templates is a bit messy (about every second template has a different structure). Therefore, it´s hard to style these pages. Trying to do our best to give it a decent look though. Moreover, all admin-views lead to an error. Admin Documentation: TranslationTranslation of the Admin Documentation is half-baked. ModelAdmin Media DefinitionsThere´s no distinction between Media for Change-Forms and Media for the Changelist. If you define to load TinyMCE within your Model, it´s already loaded in the Changelist. The same goes for Stylesheets. We think there should be distinctive Media-Classes for Change-Form and Changelist. Although it´s not that important, because the javascripts & stylesheets are in your browser-cache anyway. Harcoded StuffWith "Hardcoded Stuff", I´m referring to HTML-Code within Views (instead of using Templates). There´s a lot of this within the Admin-Interface and therefore it´s just not possible to style some elements. HTML/CSS FrameworkFor the Admin-Interface to be customizable, flexible and extensible, we need a coherent scheme with either HTML and CSS. If one wants to customize the change-form for example, it shouldn´t be like "ok, let´s add a new block ... let me think ... there´s no class for what I want ... so let´s just add a new class". instead it should be like "ok, let´s add a new block ... I´m checking the HTML/CSS docs ... finding the right class ... done." otherwise, almost every 3rd-party app using the admin-interface ends up with custom styles and code-blocks. | |