#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
-------------------------------------+-------------------------------------

Comment (by aaugustin):

 I still think filters with arguments or templatetags are the way to go for
 your examples.

 Django [https://docs.djangoproject.com/en/dev/faq/general/#django-appears-
 to-be-a-mvc-framework-but-you-call-the-controller-the-view-and-the-view-
 the-template-how-come-you-don-t-use-the-standard-names isn't strongly
 committed to a MVC model], and in the end, "practicality beats purity".

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