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
django-uuidfield-0.5.0.tar.gz
(4.8 kB
view hashes)