gis.geos.GEOSGeometry.point_on_surface
  • References/Python/Django/API/GEOS API

GEOSGeometry.point_on_surface Computes and returns a Point guaranteed to be on the interior of this geometry.

2025-01-10 15:47:30
forms.DateField.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.date object.

2025-01-10 15:47:30
sessions.backends.base.SessionBase.test_cookie_worked()
  • References/Python/Django/Guides

test_cookie_worked() Returns either True or False, depending on whether the user’s browser accepted

2025-01-10 15:47:30
views.decorators.vary.vary_on_cookie()
  • References/Python/Django/Guides

vary_on_cookie(func) [source]

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

base_field The form field to use.

2025-01-10 15:47:30
db.models.fields.files.FieldFile.close()
  • References/Python/Django/API/Models/Model field reference

FieldFile.close() [source] Behaves like the standard Python file.close() method

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

class AlterModelManagers(name, managers) [source] Alters the managers that are available

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

smart_str(s, encoding='utf-8', strings_only=False, errors='strict') Alias of smart_bytes() on Python 2 and

2025-01-10 15:47:30
db.transaction.savepoint()
  • References/Python/Django/Guides

savepoint(using=None) [source] Creates a new savepoint. This marks a point in the transaction

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

class Coalesce(*expressions, **extra) [source] Accepts a list of at least two field names

2025-01-10 15:47:30