#28416: Doc improvement: "divisibleby" DTL filter -------------------------------------+------------------------------------- Reporter: Mike Morris | Owner: nobody Type: | Status: closed Cleanup/optimization | Component: Documentation | Version: 1.11 Severity: Normal | Resolution: | worksforme Keywords: divisibleby, | Triage Stage: template, filter | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 1 -------------------------------------+------------------------------------- Changes (by Tim Graham):
* status: new => closed * resolution: => worksforme Comment: I don't see much advantage to changing the wording. I'm not a mathematician but my understanding after doing a quick search is that "divisible by" is short for "divisible equally and integrally". `{{ 3|divisibleby:'0' }}` raises a `ZeroDivisionError` exception anyway. -- Ticket URL: <https://code.djangoproject.com/ticket/28416#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 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/071.662aac6d2ed28fc72a2b249a2382a15f%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.