test.SimpleTestCase.assertHTMLNotEqual()

SimpleTestCase.assertHTMLNotEqual(html1, html2, msg=None) [source] Asserts that the strings html1 and html2 are not equal. The comparison is based on HTML semantics. See assertHTMLEqual() for details. html1 and html2 must be valid HTML. An AssertionError will be raised if one of them cannot be parsed. Output in case of error can be customized with the msg argument.

db.models.get_lookup()

get_lookup(lookup_name) Must return the lookup named lookup_name. For instance, by returning self.output_field.get_lookup(lookup_name).

auth.hashers.is_password_usable()

is_password_usable(encoded_password) [source] Checks if the given string is a hashed password that has a chance of being verified against check_password().

auth.models.User.get_full_name()

get_full_name() Returns the first_name plus the last_name, with a space in between.

gis.gdal.SpatialReference.auth_name()

auth_name(target) Returns the authority name for the given string target node.

db.models.ManyToManyField

class ManyToManyField(othermodel, **options) [source] A many-to-many relationship. Requires a positional argument: the class to which the model is related, which works exactly the same as it does for ForeignKey, including recursive and lazy relationships. Related objects can be added, removed, or created with the field’s RelatedManager.

db.migrations.operations.RunSQL.noop

RunSQL.noop Pass the RunSQL.noop attribute to sql or reverse_sql when you want the operation not to do anything in the given direction. This is especially useful in making the operation reversible. New in Django 1.10: The elidable argument was added.

views.debug.SafeExceptionReporterFilter.get_post_parameters()

SafeExceptionReporterFilter.get_post_parameters(request) [source] Returns the filtered dictionary of POST parameters. By default it replaces the values of sensitive parameters with stars (**********).

auth.models.CustomUser.get_short_name()

get_short_name() A short, informal identifier for the user. A common interpretation would be the first name of the user, but it can be any string that identifies the user in an informal way. It may also return the same value as django.contrib.auth.models.User.get_full_name(). Importing AbstractBaseUser New in Django 1.9. AbstractBaseUser and BaseUserManager are importable from django.contrib.auth.base_user so that they can be imported without including django.contrib.auth in INSTALLED_APP

core.paginator.Page

class Page(object_list, number, paginator) [source] A page acts like a sequence of Page.object_list when using len() or iterating it directly.