Django UUIDField shows 'badly formed hexadecimal UUID string' error?

I have written a model before and used the UUIDField and everything worked perfectly well, now i tried doing exactly the same thing but i get the error badly formed hexadecimal UUID string, i don’t know if i messed something up. I have imported the uuid package and the field goes thus id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False).

I have also tried adding () ..., default.uuid.uuid4() BUT it does not still work, what might be the problem and it’s best fix?

class Channel(models.Model):
    id = models.UUIDField(primary_key=True, default=uuid.uuid4, editable=False)
    name = models.CharField(max_length=200) 
    user = models.OneToOneField(User, on_delete=models.SET_NULL, null=True, related_name="channel")
    ... ## There are other field below the ones above