#361: Some Basic Math Filters
---------------------------------+--------------------------------------
     Reporter:  ilikeprivacy@…   |                    Owner:  adrian
         Type:  defect           |                   Status:  closed
    Component:  Template system  |                  Version:
     Severity:  normal           |               Resolution:  wontfix
     Keywords:  filter math      |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------

Comment (by Robert Wallner):

 I think this is a common misconception. Business logic code doesn't belong
 in the template, but at the same time, template logic doesn't belong in
 the code. So, not having arithmetic operations in the template do exactly
 the opposite. It encourages users to put the template logic inside their
 code, which is as bad as placing business logic code inside templates.
 Reminds me of Ocam's razor :)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/361#comment:16>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to