id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 16069,Object returned by get_or_create() is different from same object retrieved with get(),ssteinerX@…,nobody,"If an IntegerField is initialized in the get_or_create 'defaults' parameter with a string, it is coerced into the database correctly, but the record returned by get_or_create returns the field as a string instead of an integer. If you subsequently get the same record with get(), the field is correctly returned as an int. In my opinion the records should be identical -- they're supposed to be the same record.",Bug,closed,"Database layer (models, ORM)",1.3,Normal,wontfix,get_or_create,,Unreviewed,0,0,0,0,0,0