auth.backends.ModelBackend.has_perm()

has_perm(user_obj, perm, obj=None) Uses get_all_permissions() to check if user_obj has the permission string perm. Returns False if the user is not is_active.

http.HttpResponse.streaming

HttpResponse.streaming This is always False. This attribute exists so middleware can treat streaming responses differently from regular responses.

auth.backends.RemoteUserBackend.authenticate()

RemoteUserBackend.authenticate(remote_user) The username passed as remote_user is considered trusted. This method simply returns the User object with the given username, creating a new User object if create_unknown_user is True. Returns None if create_unknown_user is False and a User object with the given username is not found in the database.

auth.models.User.get_username()

get_username() Returns the username for the user. Since the User model can be swapped out, you should use this method instead of referencing the username attribute directly.

gis.db.models.GeoQuerySet.mem_size()

GeoQuerySet.mem_size(**kwargs) Deprecated since version 1.9: Use the MemSize function instead. Availability: PostGIS Returns the memory size (number of bytes) that the geometry field takes in a mem_size attribute on each element of the GeoQuerySet.

auth.backends.ModelBackend.get_group_permissions()

get_group_permissions(user_obj, obj=None) Returns the set of permission strings the user_obj has from the permissions of the groups they belong. Returns an empty set if is_anonymous or is_active is False.

views.decorators.vary.vary_on_headers()

vary_on_headers(*headers) [source] The Vary header defines which request headers a cache mechanism should take into account when building its cache key. See using vary headers.

views.generic.list.MultipleObjectTemplateResponseMixin.template_name_suffix

template_name_suffix The suffix to append to the auto-generated candidate template name. Default suffix is _list.

gis.gdal.OGRGeometry.wkt

wkt Returns a string representation of this geometry in WKT format.

contenttypes.models.ContentTypeManager.get_for_model()

get_for_model(model, for_concrete_model=True) Takes either a model class or an instance of a model, and returns the ContentType instance representing that model. for_concrete_model=False allows fetching the ContentType of a proxy model.