Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
  django_uuidfield.egg-info
  uuidfield
  LICENSE
  MANIFEST.in
  PKG-INFO
  README.rst
  setup.cfg
  setup.py
Size: Mime:
  README.rst
django-uuidfield
----------------

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!