#35115: Empty footer element in main section of admin layout ------------------------------------------------+------------------------ Reporter: Marijke Luttekes | Owner: nobody Type: Cleanup/optimization | Status: new Component: contrib.admin | Version: 5.0 Severity: Normal | Keywords: HTML Triage Stage: Unreviewed | Has patch: 0 Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 1 UI/UX: 0 | ------------------------------------------------+------------------------ The Django admin layout has an empty `div#footer` in the main element.
== Location Find the code in `django/contrib/admin/templates/admin/base.html`: {{{ {% block footer %}<div id="footer"></div>{% endblock %} }}} The code was last touched about four years ago when someone fixed the indentation on this template. == Proposed solutions There are two ways to go about this: 1. Remove it, as there appears to be no immediate use for this element. 2. Keep it, but in the spirit of semantic HTML, replace it with a `<footer>` element outside the `<main>` element. -- Ticket URL: <https://code.djangoproject.com/ticket/35115> Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018d0dd2221a-dcf99c66-d801-493b-99e8-e014010111ef-000000%40eu-central-1.amazonses.com.