core.files.storage.Storage

class Storage [source] The Storage class provides a standardized API for storing files, along with a set of default behaviors that all other storage systems can inherit or override as necessary. Note When methods return naive datetime objects, the effective timezone used will be the current value of os.environ['TZ']; note that this is usually set from Django’s TIME_ZONE. accessed_time(name) [source] Returns a naive datetime object containing the last accessed time of the file. For stora

gis.gdal.OGRGeometry.__getitem__()

__getitem__() Returns the point at the specified index for a LineString, the interior ring at the specified index for a Polygon, or the geometry at the specified index in a GeometryCollection. Not applicable to other geometry types.

gis.gdal.SpatialReference.linear_name

linear_name Returns the name of the linear units.

apps.AppConfig.verbose_name

AppConfig.verbose_name Human-readable name for the application, e.g. “Administration”. This attribute defaults to label.title().

redirects.middleware.RedirectFallbackMiddleware

class middleware.RedirectFallbackMiddleware You can change the HttpResponse classes used by the middleware by creating a subclass of RedirectFallbackMiddleware and overriding response_gone_class and/or response_redirect_class. response_gone_class The HttpResponse class used when a Redirect is not found for the requested path or has a blank new_path value. Defaults to HttpResponseGone. response_redirect_class The HttpResponse class that handles the redirect. Defaults to HttpResponseP

sessions.backends.db.SessionStore.create_model_instance()

create_model_instance(data) New in Django 1.9. Returns a new instance of the session model object, which represents the current session state. Overriding this method provides the ability to modify session model data before it’s saved to database.

http.HttpResponse.has_header()

HttpResponse.has_header(header) Returns True or False based on a case-insensitive check for a header with the given name.

views.generic.edit.FormMixin.form_class

form_class The form class to instantiate.

http.HttpRequest

class HttpRequest [source]

test.SimpleTestCase.assertJSONNotEqual()

SimpleTestCase.assertJSONNotEqual(raw, expected_data, msg=None) [source] Asserts that the JSON fragments raw and expected_data are not equal. See assertJSONEqual() for further details. Output in case of error can be customized with the msg argument.