db.models.Options.base_manager_name
  • References/Python/Django/API/Models/Model Meta options

Options.base_manager_name New in Django 1.10. The

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

PROTECT [source] Prevent deletion of the referenced object by raising ProtectedError

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

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

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

FileField.storage A storage object, which handles the storage and retrieval of your files. See Managing files

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

deconstruct() [source] Returns a 4-tuple with enough information to recreate the field:

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

FilePathField.allow_files Optional. Either True or False. Default is True. Specifies

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

class Expression [source] contains_aggregate

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

Options.get_latest_by The name of an orderable field in the model, typically a

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

class RawSQL(sql, params, output_field=None) [source] Sometimes database expressions can’t

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

lhs The left-hand side - what is being looked up. The object must follow the Query Expression API

2025-01-10 15:47:30