views.decorators.vary.vary_on_headers()
  • References/Python/Django/Guides

vary_on_headers(*headers) [source] The Vary header defines which request headers

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.options.Options.get_fields()
  • References/Python/Django/API/Models/Model _meta API

Options.get_fields(include_parents=True, include_hidden=False) [source] Returns a tuple of

2025-01-10 15:47:30
test.Response.context
  • References/Python/Django/Guides

context The template Context instance that was used to render the template that produced the response content.

2025-01-10 15:47:30
views.generic.detail.SingleObjectTemplateResponseMixin
  • References/Python/Django/API/Single object mixins

class django.views.generic.detail.SingleObjectTemplateResponseMixin A mixin class that performs template-based response rendering

2025-01-10 15:47:30
test.Response.resolver_match
  • References/Python/Django/Guides

resolver_match An instance of

2025-01-10 15:47:30
http.QueryDict.values()
  • References/Python/Django/API/Request and response objects

QueryDict.values() Just like the standard dictionary values() method, except this uses the same last-value logic

2025-01-10 15:47:30
admin.InlineModelAdmin.min_num
  • References/Python/Django/API/contrib packages/The Django admin site

InlineModelAdmin.min_num This controls the minimum number of forms to show in the inline. See

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

ManyToManyField.through Django will automatically generate a table to manage many-to-many relationships. However, if you want

2025-01-10 15:47:30
template.loaders.eggs.Loader
  • References/Python/Django/API/Templates/The Django template language: for Python programmers

class eggs.Loader Deprecated since version 1.9: Distributing applications

2025-01-10 15:47:30