db.models.DecimalField.decimal_places
  • References/Python/Django/API/Models/Model field reference

DecimalField.decimal_places The number of decimal places to store with the number. For example

2025-01-10 15:47:30
core.files.storage.FileSystemStorage
  • References/Python/Django/API/File handling/File storage API

class FileSystemStorage(location=None, base_url=None, file_permissions_mode=None, directory_permissions_mode=None) [source]

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

Model.objects Each non-abstract

2025-01-10 15:47:30
gis.gdal.OGRGeometry.within()
  • References/Python/Django/API/GDAL API

within(other) Returns True if this geometry is contained within the other, otherwise returns False

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

class Least(*expressions, **extra) [source] New

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

ManyToManyField.through_fields Only used when a custom intermediary model is specified. Django will normally determine which

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

select_for_update(nowait=False) Returns a queryset that will lock rows until the end of the transaction, generating a SELECT

2025-01-10 15:47:30
admin.ModelAdmin.date_hierarchy
  • References/Python/Django/API/contrib packages/The Django admin site

ModelAdmin.date_hierarchy Set date_hierarchy to the name of a DateField or DateTimeField

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

FileField.upload_to This attribute provides a way of setting the upload directory and file name, and can be set in two ways

2025-01-10 15:47:30
utils.safestring.mark_safe()
  • References/Python/Django/API/Django Utils

mark_safe(s) [source] Explicitly mark a string as safe for (HTML) output purposes. The returned

2025-01-10 15:47:30