For a number of reasons^, I\'d like to use a UUID as a primary key in some of my Django models. If I do so, will I still be able to use outside apps like \"contrib.comments\
The question can be rephrased as "is there a way to get Django to use a UUID for all database ids in all tables instead of an auto-incremented integer?".
Sure, I can do:
id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
in all of my tables, but I can't find a way to do this for:
So, this appears to be a missing Django feature.