gis.gdal.Layer.test_capability()

test_capability(capability) Returns a boolean indicating whether this layer supports the given capability (a string). Examples of valid capability strings include: 'RandomRead', 'SequentialWrite', 'RandomWrite', 'FastSpatialFilter', 'FastFeatureCount', 'FastGetExtent', 'CreateField', 'Transactions', 'DeleteFeature', and 'FastSetNextByIndex'.

test.Client.session

Client.session A dictionary-like object containing session information. See the session documentation for full details. To modify the session and then save it, it must be stored in a variable first (because a new SessionStore is created every time this property is accessed): def test_something(self): session = self.client.session session['somekey'] = 'test' session.save()

forms.ModelMultipleChoiceField.to_field_name

to_field_name Same as ModelChoiceField.to_field_name.

db.models.Sum

class Sum(expression, output_field=None, **extra) [source] Computes the sum of all values of the given expression. Default alias: <field>__sum Return type: same as input field, or output_field if supplied

postgres.aggregates.BitAnd

class BitAnd(expression, **extra) [source] Returns an int of the bitwise AND of all non-null input values, or None if all values are null.

forms.FilePathField.path

path The absolute path to the directory whose contents you want listed. This directory must exist.

db.models.Expression.contains_aggregate

contains_aggregate Tells Django that this expression contains an aggregate and that a GROUP BY clause needs to be added to the query.

admin.StackedInline

class StackedInline [source] The admin interface has the ability to edit models on the same page as a parent model. These are called inlines. Suppose you have these two models: from django.db import models class Author(models.Model): name = models.CharField(max_length=100) class Book(models.Model): author = models.ForeignKey(Author, on_delete=models.CASCADE) title = models.CharField(max_length=100) You can edit the books authored by an author on the author page. You add inlines t

postgres.aggregates.RegrIntercept

class RegrIntercept(y, x) [source] Returns the y-intercept of the least-squares-fit linear equation determined by the (x, y) pairs as a float, or None if there aren’t any matching rows.

forms.CharField.max_length

max_length