#28416: Doc improvement: "divisibleby" DTL filter
-------------------------------------+-------------------------------------
               Reporter:  Mike       |          Owner:  nobody
  Morris                             |
                   Type:             |         Status:  new
  Cleanup/optimization               |
              Component:             |        Version:  1.11
  Documentation                      |       Keywords:  divisibleby,
               Severity:  Normal     |  template, filter
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  1          |
-------------------------------------+-------------------------------------
 This is trivial, but the docs are so excellent, I thought I'd chime in....

 https://docs.djangoproject.com/en/1.11/ref/templates/builtins/#divisibleby
 states that, ''"Returns True if the value is divisible by the argument."''

 Technically of course, the above is always true unless the argument is 0.

 You meant "...if the value is **integrally** divisible by the argument."

 Thanks for great docs to a great product!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/28416>
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/056.637b24d7c849b9c3f8c947eaa5e7c2ae%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to