db.models.Field.choices
  • References/Python/Django/API/Models/Model field reference

Field.choices An iterable (e.g., a list or tuple) consisting itself of iterables of exactly two items (e.g. [(A, B), (A

2025-01-10 15:47:30
db.models.query.QuerySet.bulk_create()
  • References/Python/Django/API/Models/QuerySet API reference

bulk_create(objs, batch_size=None) This method inserts the provided list of objects into the database in an efficient manner

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

class Now [source] New in Django 1.9.

2025-01-10 15:47:30
db.models.query.QuerySet.earliest()
  • References/Python/Django/API/Models/QuerySet API reference

earliest(field_name=None) Works otherwise like latest() except the direction is changed.

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

class ExtractWeekDay(expression, tzinfo=None, **extra) [source] lookup_name

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

get_group_by_cols() Responsible for returning the list of columns references by this expression. get_group_by_cols()

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

class Length(expression, **extra) [source] Accepts a single text field or expression and

2025-01-10 15:47:30
db.models.fields.files.FieldFile.close()
  • References/Python/Django/API/Models/Model field reference

FieldFile.close() [source] Behaves like the standard Python file.close() method

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

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

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

process_rhs(compiler, connection) [source] Behaves the same way as process_lhs()

2025-01-10 15:47:30