skip to navigation
skip to content

Not Logged In

django-uuidfield 0.4.0

UUIDField in Django

Latest Version: 0.5.0

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!

 
File Type Py Version Uploaded on Size
django-uuidfield-0.4.0.tar.gz (md5) Source 2012-07-31 4KB
  • Downloads (All Versions):
  • 445 downloads in the last day
  • 2479 downloads in the last week
  • 7177 downloads in the last month