Closed bfirsh closed 11 years ago
I added a hyphenate=True
option here, please check it out:
https://github.com/baremetal/django-uuidfield/tree/hyphenated_uuid
@dcramer, thoughts on the patch?
@rca that seems like a reasonable solution to me. Want to throw it up as a PR?
PR at #21, thanks!
Looks like this has been fixed – thanks!
I would like to modify UUIDField to return a UUID with hyphens in it. I don't mind how it is stored (in fact, using the Postgres type, it is stored with hyphens in the database). How about an option
groups=True
that setsmax_length
to 36 and usesuuid.UUID
instead ofStringUUID
?