Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/d/j/django-patterns-0.0.3/django_patterns/db/models/mixins/uuid_primary_key.py   django-patterns(Download)
from python_patterns.utils.decorators import Property
 
from django_patterns.db.fields import UUIDField
 
class UUIDPrimaryKeyMixin(django.db.models.Model):
  # explanation of the UUIDField and the various parameters passed to it.
  id = UUIDField(
    verbose_name = _(u"universally unique identifier"),
    help_text = _(u"""
      An 128-bit identifier with a hard-guarantee of uniqueness among the

src/d/j/django-patterns-0.0.3/django_patterns/db/models/mixins/uuid_stamped.py   django-patterns(Download)
from django.utils.translation import ugettext_lazy as _
 
from django_patterns.db.fields import UUIDField
 
class UUIDStampedMixin(django.db.models.Model):
  # the database backend in use.
  uuid = UUIDField(
    verbose_name = _(u"universally unique identifier"),
    help_text = _(u"""
      An 128-bit identifier with a hard-guarantee of uniqueness among the

src/d/j/django-patterns-0.0.3/django_patterns/db/fields/uuid_field_test/models.py   django-patterns(Download)
from django.db.models import Model
# Django-patterns
from django_patterns.db.fields import UUIDField
 
class UUIDModel(Model):
  """A simple model which contains a single UUIDField, with default
  options."""
  uuid = UUIDField()