Don't use column name for pk
Gets the attribute name of the model's pk column, rather than the column's name (which can differ). This probably needs to happen for inherited keys, too, but I have not tested.
Showing
Please register or sign in to comment