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

class Transform [source] A Transform is a generic class to implement field transformations

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

class EmailField(max_length=254, **options) [source] A CharField that checks

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

reverse() Use the reverse() method to reverse the order in which a queryset’s elements are returned. Calling

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

class SmallIntegerField(**options) [source] Like an IntegerField, but only allows

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.CharField
  • References/Python/Django/API/Models/Model field reference

class CharField(max_length=None, **options) [source] A string field, for small- to large-sized

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

to_python(value) [source] Converts the value into the correct Python object. It acts as the

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

update(**kwargs) Performs an SQL update query for the specified fields, and returns the number of rows matched (which may not

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

Options.proxy If proxy = True, a model which subclasses another model will be treated as a proxy

2025-01-10 15:47:30