Skip to main content

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

This version
History Node

0.5.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
ambition_django_uuidfield-0.5.0-py2-none-any.whl (6.6 kB) Copy SHA256 hash SHA256 Wheel 2.7
ambition-django-uuidfield-0.5.0.tar.gz (5.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page