#32526: Class based custom template filters seem to be broken since Django 2.0
---------------------------------+--------------------------------------
     Reporter:  884756834        |                    Owner:  starryrbs
         Type:  Bug              |                   Status:  closed
    Component:  Template system  |                  Version:  3.1
     Severity:  Normal           |               Resolution:  invalid
     Keywords:                   |             Triage Stage:  Unreviewed
    Has patch:  0                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

 * status:  assigned => closed
 * resolution:   => invalid


Comment:

 Class-based custom template filters have never been officially supported
 or tested, see [https://docs.djangoproject.com/en/3.1/howto/custom-
 template-tags/#writing-custom-template-filters "Writing custom template
 filters" docs]:
  ''"Custom filters are Python functions that take one or two
 arguments..."''

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32526#comment:4>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.bd687285dabe437b6f136a74cb5d17d1%40djangoproject.com.

Reply via email to