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
auth.password_validation.NumericPasswordValidator
  • References/Python/Django/Guides

class NumericPasswordValidator [source] Validates whether the password is not entirely numeric

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

range_type The psycopg2 range type to use.

2025-01-10 15:47:30
postgres.aggregates.RegrSXX
  • References/Python/Django/API/PostgreSQL specific aggregation functions

class RegrSXX(y, x) [source] Returns sum(x^2) - sum(x)^2/N (“sum of squares”

2025-01-10 15:47:30
gis.db.models.RasterField
  • References/Python/Django/API/GeoDjango Model API

class RasterField RasterField is currently only implemented for the PostGIS backend.

2025-01-10 15:47:30
gis.gdal.DataSource.layer_count
  • References/Python/Django/API/GDAL API

layer_count Returns the number of layers in the data source.

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

get_valid_name(name) [source] Returns a filename based on the name parameter

2025-01-10 15:47:30
Form handling with class-based views
  • References/Python/Django/Guides

Form processing generally has 3 paths: Initial GET (blank or prepopulated form) POST with invalid data (typically

2025-01-10 15:47:30
forms.Widget.id_for_label()
  • References/Python/Django/API/Forms/Widgets

id_for_label(self, id_) [source] Returns the HTML ID attribute of this widget for use by

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

class Options [source] The model _meta API is at the core of the Django ORM

2025-01-10 15:47:30