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.
HttpResponse.streaming This is always False. This attribute exists so middleware can treat streaming responses differently from regular responses.
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.
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.
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.
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.
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.
template_name_suffix The suffix to append to the auto-generated candidate template name. Default suffix is _list.
wkt Returns a string representation of this geometry in WKT format.
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.
Page 154 of 226