Clickjacking Protection
  • References/Python/Django/API/Clickjacking Protection

The clickjacking middleware and decorators provide easy-to-use protection against

2025-01-10 15:47:30
admin.AdminSite.disable_action()
  • References/Python/Django/API/Admin actions

AdminSite.disable_action(name) [source] If you need to disable a site-wide

2025-01-10 15:47:30
db.backends.base.schema.BaseDatabaseSchemaEditor.execute()
  • References/Python/Django/API/SchemaEditor

BaseDatabaseSchemaEditor.execute(sql, params=[]) [source] Executes the SQL statement passed

2025-01-10 15:47:30
views.decorators.csrf.ensure_csrf_cookie()
  • References/Python/Django/API/Cross Site Request Forgery protection

ensure_csrf_cookie(view) This decorator forces a view to send the CSRF cookie.

2025-01-10 15:47:30
db.models.ManyToManyField.swappable
  • References/Python/Django/API/Models/Model field reference

ManyToManyField.swappable Controls the migration framework’s reaction if this ManyToManyField is pointing at a

2025-01-10 15:47:30
utils.encoding.filepath_to_uri()
  • References/Python/Django/API/Django Utils

filepath_to_uri(path) [source] Convert a file system path to a URI portion that is suitable

2025-01-10 15:47:30
core.files.storage.Storage.created_time()
  • References/Python/Django/API/File handling/File storage API

created_time(name) [source] Returns a naive datetime object containing the creation

2025-01-10 15:47:30
db.models.ForeignKey.limit_choices_to
  • References/Python/Django/API/Models/Model field reference

ForeignKey.limit_choices_to Sets a limit to the available choices for this field when this field is rendered using a ModelForm

2025-01-10 15:47:30
postgres.forms.SimpleArrayField.max_length
  • References/Python/Django/API/PostgreSQL specific form fields and widgets

max_length This is an optional argument which validates that the array does not exceed the stated length.

2025-01-10 15:47:30
gis.geos.MultiPoint
  • References/Python/Django/API/GEOS API

class MultiPoint(*args, **kwargs) MultiPoint objects may be instantiated by passing in Point objects

2025-01-10 15:47:30