gis.db.models.functions.MemSize
  • References/Python/Django/API/Geographic Database Functions

class MemSize(expression, **extra) Availability: PostGIS Accepts a single geographic

2025-01-10 15:47:30
core.files.storage.
  • References/Python/Django/Guides: How-tos

_open(name, mode='rb') Required. Called by Storage.open(), this

2025-01-10 15:47:30
postgres.fields.RangeField.range_type
  • References/Python/Django/API/PostgreSQL specific model fields

range_type The psycopg2 range type to use.

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

asc() Returns the expression ready to be sorted in ascending order.

2025-01-10 15:47:30
Form and field validation
  • References/Python/Django/API/Forms/Form and field validation

Form validation happens when the data is cleaned. If you want to customize this process, there are various places to make changes, each one serving a different purpose. Three

2025-01-10 15:47:30
auth.models.AnonymousUser
  • References/Python/Django/API/contrib packages/django.contrib.auth

class models.AnonymousUser django.contrib.auth.models.AnonymousUser is a class that implements the django

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

ModelAdmin.get_list_select_related(request) [source] New

2025-01-10 15:47:30
core.files.File.save()
  • References/Python/Django/API/File handling/The File object

File.save(name, content, save=True) Saves a new file with the file name and contents provided. This will not replace the existing

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

class Translate(expression, x, y, z=0.0, **extra) Availability: PostGIS, SpatiaLite Accepts

2025-01-10 15:47:30
postgres.fields.DateRangeField
  • References/Python/Django/API/PostgreSQL specific model fields

class DateRangeField(**options) [source] Stores a range of dates. Based on a

2025-01-10 15:47:30