id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 13828 Refactor `dictsort` and `dictsortreversed` to make them more DRY Satoru Logic Satoru Logic "In `django.template.defaultfilters`, `dictsort` and `dictsortreversed` are almost the same except for the invocation of `reverse()` on the sorted list in the later function. Now I have defined another function `_dictsort(value, arg, reverse=False)`, and make `dictsort` and `dictsortreversed` call it." closed Template system 1.2 fixed defaultfilters satorulogic@… Accepted 1 0 0 0 0 0