Skip to content

Instantly share code, notes, and snippets.

View mathieusteele's full-sized avatar

Mathieu Steele mathieusteele

  • Bloomfield, NY, USA
View GitHub Profile
@mathieusteele
mathieusteele / UUIDField
Created October 30, 2010 13:52
UUIDField type for django projects
import uuid
from django.forms.util import ValidationError
from django import forms
from django.db import models
from django.utils.encoding import smart_unicode
from django.utils.translation import ugettext_lazy
class UUIDVersionError(Exception):
pass