id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 6902 reverse url mapping in admin templates mariarchi nobody "It would be nice to have reverse url mapping inside the admin templates insted of hard-coded ones. At the moment, if one wants to add something to the block {% userlinks %}, he has to modify almost every template to do this? which is quite time-consuming and violates the DRY principle. If reverse url mapping was used, all templates could inherit that block (and other blocks with links) from the base template, which would be much more convenient. However, there is no url configuration file for the admin ""views"" and adding one will require quite big structural changes (which might be useful, though - this way admin panel will be even more customizable). The easy way to do this is using generated absolute links, instead of hardcoded relative ones. For example, the link to the documentation will be url(name_of_the_admin_panel_url) + 'doc/' " closed Uncategorized newforms-admin duplicate nfa-someday, urls, dry Unreviewed 0 0 0 0 0 0