#23993: Default admin login.html form doesn't respect custom AuthenticationForm Media assets. -------------------------------+-------------------- Reporter: Sveder | Owner: nobody Type: Bug | Status: new Component: contrib.admin | Version: 1.7 Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------+-------------------- If you replace the admin AuthenticationForm with a custom one and add form assets as described in https://docs.djangoproject.com/en/1.7/topics/forms/media/ (using the media class), it won't be reflected in the application. The root cause is that the admin/login.html template doesn't have the line {{form.media}} anywhere.
Adding that line fixes this. -- Ticket URL: <https://code.djangoproject.com/ticket/23993> 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 post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/049.97e8ed03fb6035be570e9712453fb0b4%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.