UUIDField in Django
Project description
Provides a UUIDField for your Django models.
Installation
Install it with pip (or easy_install):
pip install 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!
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
File details
Details for the file django-uuidfield-0.4.0.tar.gz
.
File metadata
- Download URL: django-uuidfield-0.4.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fc34db1ac3f36a81ab58a257a85ef80136caf21eee1c2a99ad6d58d24cafa52 |
|
MD5 | bf4f394b194bc055be62407c88c8a060 |
|
BLAKE2b-256 | 324f3745787aa2bd8d5c70fb2b0cab59f0f80f9e853a01a1e5515d3a2cb325cc |