api.fields

Deis API custom fields for representing data in Django forms.

class api.fields.UuidField(*args, **kwargs)[source]

A univerally unique ID field.

db_type(connection=None)[source]

Return the database column type for a UuidField.

description = u'A univerally unique ID field.'
formfield(**kwargs)[source]

Tell forms how to represent this UuidField.

pre_save(model_instance, add)[source]

Initialize an empty field with a new UUID before it is saved.