#31154: Enumeration Types are not usable in templates.
-------------------------------------+-------------------------------------
     Reporter:  Adam (Chainz)        |                    Owner:  Adam
  Johnson                            |  (Chainz) Johnson
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  3.0
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

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


Comment:

 In [changeset:"5166097d7c80cab757e44f2d02f3d148fbbc2ff6" 5166097]:
 {{{
 #!CommitTicketReference repository=""
 revision="5166097d7c80cab757e44f2d02f3d148fbbc2ff6"
 Fixed #31154 -- Added support for using enumeration types in templates.

 Enumeration helpers are callables, so the template system tried to call
 them with no arguments.

 Thanks Rupert Baker for helping discover this.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31154#comment:3>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.d18f3ed65dedc27e854dd3a7d43fceea%40djangoproject.com.

Reply via email to