lukesneeringer/django-pgfields — pull request #7 by lukesneeringer (2014-01-24 23:52:30+00:00)
Title: Support other UUID generators in auto_add.

This commit adds the ability to specify UUIDField.auto_add as a callable,
rather than just boolean True. If a callable is specified, it is called with
no arguments.

This allows for:

id = models.UUIDField(auto_add=uuid.uuid1, primary_key=True)

...or similar flexibility.

Closes #4.