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 963 Save not working with non-integer foreign keys jsprinklex9@… Adrian Holovaty "Hi Django Project. First off, Django rocks! However I ran into a little problem recently. I have a model with non-integer foreign keys (using strings - codes, etc.), and object.save() doesn't work because in fields.get_db_prep_save() the return statement says int(value). This appears to be a recent change, either late last week or early this week I think. Anwyay, that's my take on it, but you may have very good reasons for whatever the change was that is causing this behavior. Thanks, -James" defect closed Database layer (models, ORM) normal duplicate Unreviewed 0 0 0 0 0 0