Archived
This project has been archived by its maintainers, and is no longer receiving any updates.
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
Metadata
Release files for django-uuid-pk 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-uuid-pk-0.2.tar.gz | 7.8 kB | Details |
Release files / django-uuid-pk-0.2.tar.gz
| Download URL | django-uuid-pk-0.2.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0508ca417169b2d980db5ff449fb16df2c521ca308901536407195652e7fb3f7
|
|
BLAKE2b-256 checksum How to use checksums |
8c0786e5a69308ad779cf42d2d87fa929993c830ccee79fece65e98b57298c14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |