[patch] Small patch to make One to One fields work with any data type
|Reported by:||Joel Heenan <joelh-django@…>||Owned by:||adrian|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Django appears to assume that a one to one field will be referrencing an integer and breaks if it is not. This small patch means that tables are created with the same data type as to that which they are referrencing.