External packages
  • References/Python/Django/Guides

Django ships with a variety of extra, optional tools that solve common problems (contrib.*). For easier maintenance and to trim the size of the codebase, a few

2025-01-10 15:47:30
forms.DateTimeField.input_formats
  • References/Python/Django/API/Forms/Form fields

input_formats A list of formats used to attempt to convert a string to a valid datetime.datetime object.

2025-01-10 15:47:30
db.migrations.operations.AlterOrderWithRespectTo
  • References/Python/Django/API/Migration Operations

class AlterOrderWithRespectTo(name, order_with_respect_to) [source] Makes or deletes the

2025-01-10 15:47:30
postgres.operations.UnaccentExtension
  • References/Python/Django/API/Database migration operations

class UnaccentExtension [source] Installs the unaccent extension.

2025-01-10 15:47:30
template.Context.push()
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

Context.push()

2025-01-10 15:47:30
http.StreamingHttpResponse.reason_phrase
  • References/Python/Django/API/Request and response objects

StreamingHttpResponse.reason_phrase The HTTP reason phrase for the response.

2025-01-10 15:47:30
core.files.uploadedfile.UploadedFile.charset
  • References/Python/Django/API/File handling/Uploaded Files and Upload Handlers

UploadedFile.charset For text/* content-types, the character set (i.e. utf8) supplied

2025-01-10 15:47:30
template.response.SimpleTemplateResponse.
  • References/Python/Django/API/Templates/TemplateResponse and SimpleTemplateResponse

SimpleTemplateResponse.__init__(template, context=None, content_type=None, status=None, charset=None, using=None) [source]

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

decorator_from_middleware_with_args(middleware_class) [source] Like decorator_from_middleware

2025-01-10 15:47:30
gis.db.models.Union
  • References/Python/Django/API/GeoQuerySet API Reference

class Union(geo_field) Availability: PostGIS, Oracle, SpatiaLite This method returns

2025-01-10 15:47:30