#30902: The value of a TextChoices/IntegerChoices field has a differing type
-------------------------------------+-------------------------------------
     Reporter:  NyanKiyoshi          |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  3.0
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:
     Keywords:  enum                 |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Carlton Gibson):

 So discussion is on the PR, but, summary here, we need this to work:

 {{{
 >>> t = Template("Will '{{ object.my_str_value }}' render how users expect
 it to?")
 >>> c = Context({"object": my_object })
 >>> t.render(c)
 "Will 'MyChoice.FIRST_CHOICE' render how users expect it to?"
 }}}

 Where the currently it doesn't.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30902#comment:5>
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/069.272cd8efc4824662aceabe7d89840a48%40djangoproject.com.

Reply via email to