Thanks to both of you.
We were trying to use the select uuid_generate_v4 directly in the ‘default’ field, awaiting that this get’s reflected as a default value in the database, but instead of it, it looks like it just provide this value to the object instead. We wanted to be in database level instead of python level, to make sure the UUID value is not repeated and also save time when the dba is touching the database in raw…
But thinking now, I thing thats a bit fetichist and we can go just with uuid.uuid4 or the option of RandomUUID that comes in django.contrib.