How can I filter uuid as text with Django?
For example, I wanted to do like below.
class Group(models.Model): id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)Group.objects.filter(id__startswith='000')In this case, I received django.core.exceptions.FieldError: Related Field got invalid lookup: startswith.
Do I need to use extra?