>
> It's intentional, usually you see an object_pk as an integer field,
> however that means it won't work with any field with a custom primary
> key, specifically those with string type pks. And a textfield offers
> the flexibility to work with all of those.
I'm no DBA, but it doesn't take a rocket scientist to realize how
inefficient it'll become for large datasets.
I'd say the default should be an IntegerField, just like it is for
automatic primary keys, and then provide some mechanism for changing
in that 0.1% corner case where the PK isn't an integer.
Ludvig Ericson