class TruncYear(expression, output_field=None, tzinfo=None, **extra) [source]
extra(select=None, where=None, params=None, tables=None, order_by=None, select_params=None) Sometimes, the Django query syntax
class PositiveSmallIntegerField(**options) [source] Like a PositiveIntegerField
Model.pk Regardless of whether you define a primary key field yourself, or let Django supply one for you, each model will have
get_db_prep_save(value, connection) [source] Same as the get_db_prep_value()
arg_joiner A class attribute that denotes the character used to join the list of expressions together. Defaults
class Lookup [source] A Lookup is a generic class to implement lookups. A lookup
in_bulk(id_list=None) Takes a list of primary-key values and returns a dictionary mapping each primary-key value to an instance
Options.index_together Sets of field names that, taken together, are indexed:
clear() Removes all objects from the related object set:
Page 21 of 30