Re: [Django] #361: Some Basic Math Filters

2012-11-01 Thread Django
#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 anonymous):

 I also have a case where I feel that the logic should rest in the
 template, not in the code.

 I have posts that have variable parent-child levels and I need to add
 padding to them according to their level. Should I really do "padding =
 level * 50" in my view code?

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #361: Some Basic Math Filters

2012-10-09 Thread Django
#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
-+--
Changes (by dbrgn):

 * cc: dbrgn (added)


Comment:

 As a workaround, I created a separate Django app containing "sub", "mul",
 "div" and "abs" filters: https://github.com/gwrtheyrn/django-mathfilters

 will@..., you could also add -10 instead of subtracting 10 in your case:
 `list_items|length|add:-10`

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #361: Some Basic Math Filters

2012-10-09 Thread Django
#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 ptone):

 Replying to [comment:20 will@…]:
 > I would like to have a "subtract" filter for this use case:

 If you feel you have a display related argument here - you are better off
 opening a new ticket than posting a comment on a very old wontfix ticket.

 If you choose to do so, please explicitly reference this ticket, and
 explain why you think it is a different circumstance.

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #361: Some Basic Math Filters

2012-10-09 Thread Django
#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 will@…):

 I would like to have a "subtract" filter for this use case:
 I want to only show the first 10 items in a list, then have a final line
 saying how many other items there were,
 E.g.
 "And 3 other items..."

 This is purely a display (template) logic, so it should be supported by
 the template language (same as 'add').

 {{{
 {% for l in list_items %}
 {% if forloop.counter < 10 %}
 l 
 {% else %}
 {% ifequal forloop.counter 10 %}
 
 And {{ list_items|length|subtract:10 }} other objects...
 
 {% endifequal %}
 {% endif %}
 {% endfor %}
 }}}

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Django] #361: Some Basic Math Filters

2012-06-02 Thread Django
#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 foxwhisper):

 As a side note, if math filters were to ever get accepted into the core,
 it would be so much better if they weren't as template tag filters, but
 instead as native expressions with nested support:

 For example:
 {{{
 {{ (someval * 10) + 5 }}
 }}}

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #361: Some Basic Math Filters

2012-06-02 Thread Django
#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 foxwhisper):

 Today I found the need for having math filters in the template,
 specifically for visualization (changing 0.01PPM into 1p) which is not
 business logic but indeed template logic.

 Just as I was about to add a comment saying "omfg why doesn't Django
 support this", I realized why the core devs are rejecting this. And the
 simple reason is, it would get abused like crazy and it's would be a
 slippery path to failure. Sure it would be useful for sane developers on
 specific use cases, but it would be abused by the majority.

 Although Adam makes a good point with this comment:

 {{{
 It up to them to decide if they want to "bastardise" their application by
 putting application logic into the view, not the framework.
 }}}

 dloewenherz also makes another good point:

 {{{
 "add" is a filter, yet none of the other basic math operations are. This
 seems a little inconsistent to me.
 }}}

 Could a core developer perhaps explain what the reasoning was behind
 having add, but not any of the others?? I had a look around the archives,
 but couldn't seem to find any justification for this. It seems to me that
 we should either have all of them, or none at all??

 It seems this topic hits a nerve with a lot of people, so if a core dev is
 able to give some answers on the above, we will finally be able to put
 this issue to rest with a concrete justification.

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #361: Some Basic Math Filters

2012-04-18 Thread Django
#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 anonymous):

 I know this is not the place, but I have to say it. It would be nice to be
 able to do things like:

 {{{
 
   
 
 }}}

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #361: Some Basic Math Filters

2012-03-08 Thread Django
#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: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #361: Some Basic Math Filters

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

Comment (by anonymous):

 Thanks for the reply.

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #361: Some Basic Math Filters

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

Comment (by charettes):

 Adam, you should try forloop.counter0 instead of
 forloop.counter|add:"-1"|divisibleby:3.

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #361: Some Basic Math Filters

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

Comment (by adam.g.pullen@…):

 Here is sample code where simple math in the template engine may make
 sense.
 It is totally presentation related.
 This post should not be taken as critizam, more as developers trying to
 improve the framework.

 We have a list of items that need to be displayed in a "3*n" table

 There are 2 issues

 1) Primary Issue: The forloop.counter starts at 1 which, depending on how
 you look at it, is wrong. It should, to remain consistant with python and
 most other languages, start at 0.

 2) Due to the lack of the simple math functions (requirement driving from
 incorrect forloop.counter value) I will have to try to implement the code
 listed above.

 {{{
 {% comment %}
   Counter is used to perform the "row grouping" when mod 3 == 0 then a new
 row is started
   When counter is > 0 then the row is ended
 {% endcomment  %}
 {% for item in items %}
 {% if counter|divisibleby:3 or forloop.counter == 1 %}
   {% if forloop.counter > 1 %}
 
   {% endif %}
   
 {% endif %}
   {% include "terra_creator/gallery_item.html" %}
 {% endfor %}
 }}}

 Just a note for reference: divisibleby "DOES need to be part of Django"
 but multiplication not?


 [[BR]]
 [[BR]]
 Ok durring writing this i found that

 forloop.counter|add:"-1"|divisibleby:3

 will solve my problem

 [[BR]]
 [[BR]]
 I still think that you should listen to your users. It up to them to
 decide if they want to "bastardise" their application by putting
 application logic into the view, not the framework.

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #361: Some Basic Math Filters

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

Comment (by anonymous):

 Unfortunately, your criticism lacks details that would allow us to
 understand your problem and actually improve the template language.

 I think template tags are appropriate for the use case you're describing.

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #361: Some Basic Math Filters

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

Comment (by anonymous):

 Replying to [comment:10 russellm]:
 > This topic has been discussed repeatedly on django-dev and django-users.
 The reasoning *isn't* absurd -- it's part of the fundamental design intent
 of the template language. The reasoning is that Django's template language
 shouldn't encourage putting business logic in templates. Providing
 extensive tools for in-template math would encourage the placement of
 business logic in templates.

 Django templates is the most inconsistent and horrible templating language
 available. Can you not just switch to Jinja2 and be done with it?
 I want to add two datetimes together in my template. Nice, now I have to
 do it in several places in my code. Not good.

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #361: Some Basic Math Filters

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

Comment (by russellm):

 This topic has been discussed repeatedly on django-dev and django-users.
 The reasoning *isn't* absurd -- it's part of the fundamental design intent
 of the template language. The reasoning is that Django's template language
 shouldn't encourage putting business logic in templates. Providing
 extensive tools for in-template math would encourage the placement of
 business logic in templates.

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #361: Some Basic Math Filters

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

 * ui_ux:   => 0
 * easy:   => 0


Comment:

 > it doesn't need to be part of Django.

 May I know why it according to you doesn't need to be part of Django?
 Every time I find myself writing these filters yet again I have the
 oposite impression. There are situations where not having the ability to
 do basic math in templates results in code that is more complicated (thus
 error prone) and longer to write then it would otherwise be necessary. I
 find this unwillingness to include something as basic and harmless as
 these filters are rather absurd.

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #361: Some Basic Math Filters

2011-03-29 Thread Django
#361: Some Basic Math Filters
---+---
   Reporter:  ilikeprivacy@…   |Owner:  adrian
 Status:  closed   |Milestone:
  Component:  Template system  |  Version:
 Resolution:  wontfix  | Keywords:  filter math
   Triage Stage:  Unreviewed   |Has patch:  0
Needs documentation:  0|  Needs tests:  0
Patch needs improvement:  0|
---+---
Changes (by lrekucki):

 * status:  reopened => closed
 * resolution:   => wontfix


-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #361: Some Basic Math Filters

2011-03-29 Thread Django
#361: Some Basic Math Filters
---+---
   Reporter:  ilikeprivacy@…   |Owner:  adrian
 Status:  reopened |Milestone:
  Component:  Template system  |  Version:
 Resolution:   | Keywords:  filter math
   Triage Stage:  Unreviewed   |Has patch:  0
Needs documentation:  0|  Needs tests:  0
Patch needs improvement:  0|
---+---

Comment (by lrekucki):

 Replying to [comment:6 anonymous]:
 > Django runs it's shop like the Third Reich... ADD MATH FILTERS

 Your behavior doesn't really deserve a comment, especially that you were
 brave enough not to sign it with your name. Normally people discuss this
 kind of stuff on the developers list, but I'm not sure if I want to
 discuss with this kind of offensive comments.

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #361: Some Basic Math Filters

2011-03-29 Thread Django
#361: Some Basic Math Filters
---+---
   Reporter:  ilikeprivacy@…   |Owner:  adrian
 Status:  reopened |Milestone:
  Component:  Template system  |  Version:
 Resolution:   | Keywords:  filter math
   Triage Stage:  Unreviewed   |Has patch:  0
Needs documentation:  0|  Needs tests:  0
Patch needs improvement:  0|
---+---
Changes (by anonymous):

 * status:  closed => reopened
 * resolution:  wontfix =>


Comment:

 Django runs it's shop like the Third Reich... ADD MATH FILTERS

-- 
Ticket URL: 
Django 
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 django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #361: Some Basic Math Filters

2010-11-16 Thread Django
#361: Some Basic Math Filters
-+--
  Reporter:  ilikepriv...@gmail.com  | Owner:  adrian 
Status:  closed  | Milestone: 
 Component:  Template system |   Version: 
Resolution:  wontfix |  Keywords:  filter math
 Stage:  Unreviewed  | Has_patch:  0  
Needs_docs:  0   |   Needs_tests:  0  
Needs_better_patch:  0   |  
-+--
Comment (by diramazioni):

 As newcomer to django I find really weird there is no math operations or
 the elseif operator in the template system. They are so common in
 others... Nobody willing to explain why there are such limitation?

-- 
Ticket URL: 
Django 
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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.



Re: [Django] #361: Some Basic Math Filters

2010-10-21 Thread Django
#361: Some Basic Math Filters
-+--
  Reporter:  ilikepriv...@gmail.com  | Owner:  adrian 
Status:  closed  | Milestone: 
 Component:  Template system |   Version: 
Resolution:  wontfix |  Keywords:  filter math
 Stage:  Unreviewed  | Has_patch:  0  
Needs_docs:  0   |   Needs_tests:  0  
Needs_better_patch:  0   |  
-+--
Comment (by dloewenherz):

 "add" is a filter, yet none of the other basic math operations are. This
 seems a little inconsistent to me.

 >> it doesn't need to be part of Django.

 And yet something like "ipsum lorem dolor sit amet" does? I think this
 deserves a 2nd look.

-- 
Ticket URL: 
Django 
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 django-upda...@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.