Field.choices An iterable (e.g., a list or tuple) consisting itself of iterables of exactly two items (e.g. [(A, B), (A
AdminSite.disable_action(name) [source] If you need to disable a site-wide
LogEntry.content_type The
smart_str(s, encoding='utf-8', strings_only=False, errors='strict') Alias of smart_bytes() on Python 2 and
trim New in Django 1.10. This property
Engine.select_template(self, template_name_list) [source] Like get_template()
csrf_protect(view) Decorator that provides the protection of CsrfViewMiddleware to a view.
class GeoIP(path=None, cache=0, country=None, city=None) The GeoIP object does not require any parameters to use
allow_future A boolean specifying whether to include “future” objects on this page, where “future” means objects in which the
GeoIP2.country(query) Returns a dictionary with the country code and country for the given query.
Page 69 of 100