#20208: Type of id.value of inlineformset differs from creation
----------------------------+--------------------
     Reporter:  roehner@…   |      Owner:  nobody
         Type:  Bug         |     Status:  new
    Component:  Forms       |    Version:  1.4
     Severity:  Normal      |   Keywords:
 Triage Stage:  Unreviewed  |  Has patch:  0
Easy pickings:  0           |      UI/UX:  1
----------------------------+--------------------
 If i instantiate an inlineformset with request.POST, the type of the id of
 all fields will be unicode. If i instantiate it only with instance=object,
 the id is a long int. It should be a long int in both cases. The type is
 relevant, if accessing the id in a template (e.g. if the id references
 entries in a dictionary) and the different type causes problems there.

 I guess, that this is the case not only with inlineformsets.

 I use django 1.4.5

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20208>
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 post to this group, send email to django-updates@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to