Skip to main content

Django UUIDField with full primary-key protocol support

Project description

https://secure.travis-ci.org/saxix/django-uuid-pk.png?branch=develop

django uuidfield that can be used as primary key

The reason of this project is that any other UUDField implementation that I found does not reflect the expected behaviour when used as primary-key, if the save() fails for any reason the value of the field persist so that checking obj.pk cannot be used anymore to check if the object is stored or not.

The code is mainly based on the dcramer’s implementation that can be found at https://github.com/dcramer/django-uuidfield

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-uuid-pk-0.1.tar.gz (7.2 kB view details)

Uploaded Source

File details

Details for the file django-uuid-pk-0.1.tar.gz.

File metadata

File hashes

Hashes for django-uuid-pk-0.1.tar.gz
Algorithm Hash digest
SHA256 183dbb3fa9d61aef31abd879fad0092fe10f9b0920bc9bf511421bbe0aec4007
MD5 3645d2ee4714266c54e34fafa4f25eb8
BLAKE2b-256 59908a53df31b6274fe6e58534edf71ebc371ade88d0b7f40292f54c1361bfb4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page