reverse_ordering() Returns self with any modifications required to reverse the sort order within an order_by
Model.pk Regardless of whether you define a primary key field yourself, or let Django supply one for you, each model will have
class Prefetch(lookup, queryset=None, to_attr=None) [source] The Prefetch()
Field.related_model Points to the model the field relates to. For example, Author in ForeignKey(Author, on_delete=models
function A class attribute describing the aggregate function that will be generated. Specifically, the function
Model.clean() [source] This method should be used to provide custom model validation, and
class Field [source] Field is an abstract class that represents a database table
class Case(*cases, **extra) [source] A Case() expression is like the
class Func(*expressions, **extra) [source] function
FilePathField.allow_folders Optional. Either True or False. Default is False. Specifies
Page 22 of 30