#12116: needs_context for template filters
-------------------------------------+-------------------------------------
     Reporter:  Suor                 |                    Owner:  Suor
         Type:  New feature          |                   Status:  new
    Component:  Template system      |                  Version:  SVN
     Severity:  Normal               |               Resolution:
     Keywords:  template filters,    |             Triage Stage:  Design
  context                            |  decision needed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  1                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by aaugustin):

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


Comment:

 I'm going to implement a filter similar to your example as part of my work
 on #2626. We can't add an example that duplicates a core functionality, so
 we'll have to give another example if my work on #2626 is merged. Do you
 have other use cases for `needs_context`?

 If there isn't another compelling use case, like Alex, I'd prefer to keep
 the filters "contextless", for the sake of simplicity.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/12116#comment:6>
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 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.

Reply via email to