id is a custom field type built on top of UUIDField. Within postgresql it is stored as a native uuid. toroise-objects is using django's UUIDField for it (using my runtime mapping of fields.FIELD_MAP)
psycopg.errors.UndefinedFunction: operator does not exist: uuid = numeric
LINE 1: ...ontext_tokens" FROM "test_model" WHERE "id"=$1 LIMIT ...
idis a custom field type built on top of UUIDField. Within postgresql it is stored as a native uuid. toroise-objects is using django's UUIDField for it (using my runtime mapping of fields.FIELD_MAP)