gis.gdal.OGRGeometry.num_points

num_points Alias for point_count.

core.files.storage.FileSystemStorage.directory_permissions_mode

directory_permissions_mode The file system permissions that the directory will receive when it is saved. Defaults to FILE_UPLOAD_DIRECTORY_PERMISSIONS. Note The FileSystemStorage.delete() method will not raise an exception if the given file name does not exist.

db.models.functions.Coalesce

class Coalesce(*expressions, **extra) [source] Accepts a list of at least two field names or expressions and returns the first non-null value (note that an empty string is not considered a null value). Each argument must be of a similar type, so mixing text and numbers will result in a database error. Usage examples: >>> # Get a screen name from least to most public >>> from django.db.models import Sum, Value as V >>> from django.db.models.functions import Coalesce

auth.models.User.get_all_permissions()

get_all_permissions(obj=None) Returns a set of permission strings that the user has, both through group and user permissions. If obj is passed in, only returns the permissions for this specific object.

forms.Widget.value_from_datadict()

value_from_datadict(data, files, name) [source] Given a dictionary of data and this widget’s name, returns the value of this widget. files may contain data coming from request.FILES. Returns None if a value wasn’t provided. Note also that value_from_datadict may be called more than once during handling of form data, so if you customize it and add expensive processing, you should implement some caching mechanism yourself.

postgres.fields.ArrayField

class ArrayField(base_field, size=None, **options) [source] A field for storing lists of data. Most field types can be used, you simply pass another field instance as the base_field. You may also specify a size. ArrayField can be nested to store multi-dimensional arrays. If you give the field a default, ensure it’s a callable such as list (for an empty default) or a callable that returns a list (such as a function). Incorrectly using default=[] creates a mutable default that is shared betwee

db.models.CommaSeparatedIntegerField

class CommaSeparatedIntegerField(max_length=None, **options) [source] Deprecated since version 1.9: This field is deprecated in favor of CharField with validators=[validate_comma_separated_integer_list]. A field of integers separated by commas. As in CharField, the max_length argument is required and the note about database portability mentioned there should be heeded.

views.generic.list.MultipleObjectMixin.paginator_class

paginator_class The paginator class to be used for pagination. By default, django.core.paginator.Paginator is used. If the custom paginator class doesn’t have the same constructor interface as django.core.paginator.Paginator, you will also need to provide an implementation for get_paginator().

postgres.forms.SplitArrayField

class SplitArrayField(base_field, size, remove_trailing_nulls=False) [source] This field handles arrays by reproducing the underlying field a fixed number of times. base_field This is a required argument. It specifies the form field to be repeated. size This is the fixed number of times the underlying field will be used. remove_trailing_nulls By default, this is set to False. When False, each value from the repeated fields is stored. When set to True, any trailing values which

auth.password_validation.CommonPasswordValidator

class CommonPasswordValidator(password_list_path=DEFAULT_PASSWORD_LIST_PATH) [source] Validates whether the password is not a common password. By default, this checks against a list of 1000 common password created by Mark Burnett. The password_list_path can be set to the path of a custom file of common passwords. This file should contain one password per line and may be plain text or gzipped.