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.

Files for django-uuid-pk, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size django-uuid-pk-0.2.tar.gz (7.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page