Ambition fork of dcramer/django-uuidfield, UUIDField in Django
Project description
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!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for ambition-django-uuidfield-0.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d261616214aca0c211873370377154801d09ab943760dab5505e354ebf6c413 |
|
MD5 | 1a02bf2ebfff8576ececf75c427e8816 |
|
BLAKE2b-256 | 3d5195ee6314ded758f3027d942915add6cad9a813d124d6acd6fb01c4200e8f |
Close
Hashes for ambition_django_uuidfield-0.5.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 308fc7fbe144f747f4637c72906c8ab97d7609954eb7acacb86a22145798b37b |
|
MD5 | c979ba79a1c44a377dc04c08ffdadd90 |
|
BLAKE2b-256 | b721f1e56a3c626af4cbb25343935d0fd8415c6c52bb6f80ab07acc498fc70d5 |