db.models.Func
  • References/Python/Django/API/Models/Query Expressions

class Func(*expressions, **extra) [source] function

2025-01-10 15:47:30
db.models.DateTimeField
  • References/Python/Django/API/Models/Model field reference

class DateTimeField(auto_now=False, auto_now_add=False, **options) [source] A date and time

2025-01-10 15:47:30
db.models.Lookup
  • References/Python/Django/API/Models/Lookup API reference

class Lookup [source] A Lookup is a generic class to implement lookups. A lookup

2025-01-10 15:47:30
db.models.Aggregate.function
  • References/Python/Django/API/Models/Query Expressions

function A class attribute describing the aggregate function that will be generated. Specifically, the function

2025-01-10 15:47:30
db.models.functions.datetime.Extract
  • References/Python/Django/API/Models/Database Functions

class Extract(expression, lookup_name=None, tzinfo=None, **extra) [source] Extracts a component

2025-01-10 15:47:30
db.models.Field.verbose_name
  • References/Python/Django/API/Models/Model field reference

Field.verbose_name A human-readable name for the field. If the verbose name isn’t given, Django will automatically create it

2025-01-10 15:47:30
db.models.PositiveSmallIntegerField
  • References/Python/Django/API/Models/Model field reference

class PositiveSmallIntegerField(**options) [source] Like a PositiveIntegerField

2025-01-10 15:47:30
db.models.Options.index_together
  • References/Python/Django/API/Models/Model Meta options

Options.index_together Sets of field names that, taken together, are indexed:

2025-01-10 15:47:30
db.models.Model.full_clean()
  • References/Python/Django/API/Models/Model instance reference

Model.full_clean(exclude=None, validate_unique=True) [source] This method calls Model

2025-01-10 15:47:30
db.models.functions.datetime.TruncSecond
  • References/Python/Django/API/Models/Database Functions

class TruncSecond(expression, output_field=None, tzinfo=None, **extra) [source]

2025-01-10 15:47:30