db.models.Lookup.process_lhs()

process_lhs(compiler, connection, lhs=None) [source] Returns a tuple (lhs_string, lhs_params), as returned by compiler.compile(lhs). This method can be overridden to tune how the lhs is processed. compiler is an SQLCompiler object, to be used like compiler.compile(lhs) for compiling lhs. The connection can be used for compiling vendor specific SQL. If lhs is not None, use it as the processed lhs instead of self.lhs.

auth.models.User.user_permissions

user_permissions Many-to-many relationship to Permission

views.generic.base.TemplateResponseMixin.get_template_names()

get_template_names() Returns a list of template names to search for when rendering the template. The first template that is found will be used. If template_name is specified, the default implementation will return a list containing template_name (if it is specified).

gis.gdal.SpatialReference.units

units Returns a 2-tuple of the units value and the units name and will automatically determines whether to return the linear or angular units.

views.generic.edit.DeletionMixin

class django.views.generic.edit.DeletionMixin Enables handling of the DELETE http action. Methods and Attributes success_url The url to redirect to when the nominated object has been successfully deleted. success_url may contain dictionary string formatting, which will be interpolated against the object’s field attributes. For example, you could use success_url="/parent/{parent_id}/" to redirect to a URL composed out of the parent_id field on a model. get_success_url() Returns the u

gis.gdal.Feature.layer_name

layer_name Returns the name of the Layer that the feature came from. This will be the same for all features in a given layer: >>> city.layer_name 'cities'

postgres.fields.IntegerRangeField

class IntegerRangeField(**options) [source] Stores a range of integers. Based on an IntegerField. Represented by an int4range in the database and a NumericRange in Python. Regardless of the bounds specified when saving the data, PostgreSQL always returns a range in a canonical form that includes the lower bound and excludes the upper bound; that is [).

http.HttpRequest.method

HttpRequest.method A string representing the HTTP method used in the request. This is guaranteed to be uppercase. Example: if request.method == 'GET': do_something() elif request.method == 'POST': do_something_else()

sessions.serializers.PickleSerializer

class serializers.PickleSerializer Supports arbitrary Python objects, but, as described above, can lead to a remote code execution vulnerability if SECRET_KEY becomes known by an attacker.

sessions.backends.base.SessionBase.clear()

clear() It also has these methods: