sessions.backends.base.SessionBase.get_expiry_date()
  • References/Python/Django/Guides

get_expiry_date() Returns the date this session will expire. For sessions with no custom expiration (or those set to expire

2025-01-10 15:47:30
“How-to” guides
  • References/Python/Django/Guides: How-tos

Here you’ll find short answers to “How do I....?” types of questions. These how-to guides don’t cover topics in depth – you’ll find that material in the Using

2025-01-10 15:47:30
auth.password_validation.UserAttributeSimilarityValidator
  • References/Python/Django/Guides

class UserAttributeSimilarityValidator(user_attributes=DEFAULT_USER_ATTRIBUTES, max_similarity=0.7) [source]

2025-01-10 15:47:30
gis.geos.GEOSGeometry.json
  • References/Python/Django/API/GEOS API

GEOSGeometry.json Returns the GeoJSON representation of the geometry. Note that the result is not a complete GeoJSON structure

2025-01-10 15:47:30
utils.feedgenerator.SyndicationFeed.root_attributes()
  • References/Python/Django/API/Django Utils

root_attributes() [source] Return extra attributes to place on the root (i.e. feed/channel)

2025-01-10 15:47:30
gis.widgets.OSMWidget
  • References/Python/Django/API/GeoDjango Forms API

class OSMWidget This widget uses an OpenStreetMap base layer (Mapnik) to display geographic objects on. template_name

2025-01-10 15:47:30
views.generic.edit.FormMixin.get_prefix()
  • References/Python/Django/API/Editing mixins

get_prefix() Determine the

2025-01-10 15:47:30
GeoDjango Database API
  • References/Python/Django/API/GeoDjango Database API

Spatial Backends GeoDjango currently provides the following spatial database backends: django

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

ForeignKey.swappable Controls the migration framework’s reaction if this ForeignKey is pointing at a swappable

2025-01-10 15:47:30
views.i18n.JavaScriptCatalog
  • References/Python/Django/Guides

class JavaScriptCatalog [source] A view that produces a JavaScript code library with functions

2025-01-10 15:47:30