Provides a UUIDField for your Django models.
Installation
Install it with pip (or easy_install):
pip install ambition-django-uuidfield
Usage
First you’ll need to attach a UUIDField to your class. This acts as a char(32) to maintain compatibility with SQL versions:
from uuidfield import UUIDField
class MyModel(models.Model):
uuid = UUIDField(auto=True)
Check out the source for more configuration values.
Enjoy!
Metadata
Release files for ambition-django-uuidfield 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ambition-django-uuidfield-0.5.0.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ambition_django_uuidfield-0.5.0-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 11.8 kB
Release files / ambition-django-uuidfield-0.5.0.tar.gz
| Download URL | ambition-django-uuidfield-0.5.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d261616214aca0c211873370377154801d09ab943760dab5505e354ebf6c413
|
|
BLAKE2b-256 checksum How to use checksums |
3d5195ee6314ded758f3027d942915add6cad9a813d124d6acd6fb01c4200e8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ambition_django_uuidfield-0.5.0-py2-none-any.whl
| Download URL | ambition_django_uuidfield-0.5.0-py2-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
308fc7fbe144f747f4637c72906c8ab97d7609954eb7acacb86a22145798b37b
|
|
BLAKE2b-256 checksum How to use checksums |
b721f1e56a3c626af4cbb25343935d0fd8415c6c52bb6f80ab07acc498fc70d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |