djblets.db.fieldsΒΆ
Specialized database fields.
This module provides several database fields for use in Django models, covering Base64 data storage, JSON storage, atomic counters, and more.
These fields are split into their own modules. This module makes it simple to import them all from one place. The following are provided:
An identifiable wrapper around byte string values for Base64Field. |
|
Property-like class used to store/retrieve Base64 values. |
|
A text field for storing Base64-encoded values. |
|
A field that provides atomic counter updating and smart initialization. |
|
A field for storing JSON-encoded data. |
|
Provides a form field for JSON input. |
|
A timestamp field that only updates existing objects or when None. |
|
A field that provides an atomic count of a relation. |