django-bootstrap5 icon indicating copy to clipboard operation
django-bootstrap5 copied to clipboard

Make it easier to override errors/helptext templates in custom renderers

Open akx opened this issue 3 years ago • 1 comments

By moving the template names to class-level variables in the renderer class, it's easier for subclasses to just change the rendered template without having to reimplement the if/else logic in e.g. FormRenderer.render_errors.

akx avatar Oct 17 '22 09:10 akx

Pull Request Test Coverage Report for Build 3512104018

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.009%) to 97.415%

Totals Coverage Status
Change from base Build 3512102161: 0.009%
Covered Lines: 593
Relevant Lines: 605

💛 - Coveralls

coveralls avatar Oct 17 '22 09:10 coveralls