Type of id.value of inlineformset differs from creation
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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