#31026: Switch form rendering to template engine -------------------------------------+------------------------------------- Reporter: Johannes Maron | Owner: David Type: | Smith Cleanup/optimization | Status: closed Component: Forms | Version: dev Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by GitHub <noreply@…>): In [changeset:"f1697ec7c8fc851baa9c890a605acb67f04210f2" f1697ec]: {{{ #!CommitTicketReference repository="" revision="f1697ec7c8fc851baa9c890a605acb67f04210f2" Refs #31026 -- Simplified BaseForm.get_context(). bf.errors returns an ErrorList. Access this directly and avoid creating a new instance in BaseForm.get_context() Calling str() on the ErrorList can also be deferred to when the variable used in the template. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/31026#comment:36> 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/0107018bebbbbecf-8836de31-953d-4071-a374-c0efd9eea029-000000%40eu-central-1.amazonses.com.