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

Options.required_db_features New in Django 1.9. List

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

ManyToManyField.swappable Controls the migration framework’s reaction if this ManyToManyField is pointing at 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.ManyToManyField.through
  • References/Python/Django/API/Models/Model field reference

ManyToManyField.through Django will automatically generate a table to manage many-to-many relationships. However, if you want

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

order_by(*fields) By default, results returned by a QuerySet are ordered by the ordering tuple given by the ordering

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

Options.verbose_name A human-readable name for the object, singular:

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

Model.get_absolute_url() Define a get_absolute_url() method to tell Django how to calculate the canonical URL for

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.Lookup.lookup_name
  • References/Python/Django/API/Models/Lookup API reference

lookup_name The name of this lookup, used to identify it on parsing query expressions. It cannot contain the string "__"

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

ForeignKey.db_constraint Controls whether or not a constraint should be created in the database for this foreign key. The default

2025-01-10 15:47:30