#35937: Refactor very similar code of internal dec function for simple_tag,
simple_block_tag and inclusion_tag
-------------------------------------+-------------------------------------
Reporter: Emma Delescolle | Owner: (none)
Type: | Status: closed
Cleanup/optimization |
Component: Template system | Version: dev
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
decorator,tag,simple_tag | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by David Sanders):
* resolution: => wontfix
* status: new => closed
Comment:
Hi & thanks for your interest in helping out with Django.
The Django codebase usually tends to follow the WET (Write Everything
Twice/Thrice) and in the case you've highlighted there doesn't appear to
be a major advantage in modifying code to risk reducing readability and/or
introduce regressions.
Will close the ticket for now but if you disagree feel free to head over
to the Django Forum to start a discussion 👍
--
Ticket URL: <https://code.djangoproject.com/ticket/35937#comment:1>
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 [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019363f456f9-7b005307-a486-45b2-b65d-491d52ad5c18-000000%40eu-central-1.amazonses.com.