db.models.Field.get_db_prep_value()
  • References/Python/Django/API/Models/Model field reference

get_db_prep_value(value, connection, prepared=False) [source] Converts value

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

HttpRequest.encoding A string representing the current encoding used to decode form submission data (or None, which

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

match A regular expression pattern; only files with names matching this expression will be allowed as choices.

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

num_feat Returns the number of features in the layer. Same as len(layer):

2025-01-10 15:47:30
views.generic.edit.DeletionMixin.success_url
  • References/Python/Django/API/Editing mixins

success_url The url to redirect to when the nominated object has been successfully deleted.

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

Field.error_messages The error_messages argument lets you override the default messages that the field will raise

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

semi_minor Returns the semi minor axis of the ellipsoid for this spatial reference.

2025-01-10 15:47:30
messages.get_messages()
  • References/Python/Django/API/contrib packages/The messages framework

get_messages(request) [source] In your template, use something like:

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

class Polygon(*args, **kwargs) Polygon objects may be instantiated by passing in parameters that represent the

2025-01-10 15:47:30
gis.measure.Area.
  • References/Python/Django/API/Measurement Objects

__getattr__(unit_att) Returns the area value in units corresponding to the given unit attribute. For example:

2025-01-10 15:47:30