I'm using my custom uuid field and uuid generator, which cause 'uuid_is_valid' function to return False when validating my uuids, attached a patch that check if the uuid filed name is 'uuid' and only then validation.

CommentFileSizeAuthor
uuid_validate_error.patch671 bytesbricel

Comments

skwashd’s picture

Issue summary: View changes
Status: Needs review » Closed (works as designed)

uuid_is_valid() ensures UUIDs comply with RFC 4122. If your UUID generator doesn't generate compliant UUIDs, then the validation should fail.