views.generic.list.MultipleObjectMixin.model

model The model that this view will display data for. Specifying model = Foo is effectively the same as specifying queryset = Foo.objects.all(), where objects stands for Foo’s default manager.

db.models.Func.arity

arity New in Django 1.10. A class attribute that denotes the number of arguments the function accepts. If this attribute is set and the function is called with a different number of expressions, TypeError will be raised. Defaults to None.

gis.geoip.GeoIP.country_code_by_addr()

GeoIP.country_code_by_addr(query)

auth.validators.ASCIIUsernameValidator

class validators.ASCIIUsernameValidator New in Django 1.10. A field validator allowing only ASCII letters, in addition to @, ., +, -, and _. The default validator for User.username on Python 2.

db.models.Model._base_manager

Model._base_manager

db.migrations.operations.AlterModelManagers

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

gis.gdal.OGRGeometry.convex_hull

convex_hull The smallest convex polygon that contains this geometry, as a new OGRGeometry object.

test.runner.DiscoverRunner.setup_test_environment()

DiscoverRunner.setup_test_environment(**kwargs) Sets up the test environment by calling setup_test_environment() and setting DEBUG to False.

core.files.File.save()

File.save(name, content, save=True) Saves a new file with the file name and contents provided. This will not replace the existing file, but will create a new file and update the object to point to it. If save is True, the model’s save() method will be called once the file is saved. That is, these two lines: >>> car.photo.save('myphoto.jpg', content, save=False) >>> car.save() are equivalent to: >>> car.photo.save('myphoto.jpg', content, save=True) Note that the c

core.files.uploadedfile.UploadedFile.content_type_extra

UploadedFile.content_type_extra A dictionary containing extra parameters passed to the content-type header. This is typically provided by services, such as Google App Engine, that intercept and handle file uploads on your behalf. As a result your handler may not receive the uploaded file content, but instead a URL or other pointer to the file. (see RFC 2388 section 5.3).