db.models.fields.files.FieldFile.name
  • References/Python/Django/API/Models/Model field reference

FieldFile.name The name of the file including the relative path from the root of the

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

prefetch_related_objects(model_instances, *related_lookups) [source]

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

CASCADE [source] Cascade deletes. Django emulates the behavior of the SQL constraint ON DELETE

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

Options.default_permissions Defaults to ('add', 'change', 'delete'). You may customize this list, for example,

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

class Value(value, output_field=None) [source] A Value() object represents the

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

using(alias) This method is for controlling which database the QuerySet will be evaluated against if you are using

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

Options.label_lower New in Django 1.9. Representation

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

ImageField.width_field Name of a model field which will be auto-populated with the width of the image each time the model instance

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

exclude(**kwargs) Returns a new QuerySet containing objects that do not match the given lookup parameters

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

process_lhs(compiler, connection, lhs=None) [source] Returns a tuple (lhs_string, lhs_params)

2025-01-10 15:47:30