Django ships with a variety of extra, optional tools that solve common problems (contrib.*). For easier maintenance and to trim the size of the codebase, a few
class NumPoints(expression, **extra) Availability: MySQL, PostGIS, Oracle, SpatiaLite Accepts
template_name_suffix The suffix to append to the auto-generated candidate template name. Default suffix is _detail
Field.unique_for_month Like unique_for_date, but requires the field to be unique with respect to the month.
has_perm(perm, obj=None) Returns True if the user has the specified permission, where perm is in the
HttpResponse.closed True if the response has been closed.
url(regex, view, kwargs=None, name=None) [source] urlpatterns should be a list
BaseDatabaseSchemaEditor.alter_db_table(model, old_db_table, new_db_table) [source] Renames
put(*args, **kwargs) The PUT action is also handled and just passes all parameters through to post()
ModelAdmin.has_module_permission(request) Should return True if displaying the module on the admin index page and
Page 26 of 100