Django 4.2.x DocumentationAsynchronous support Downstream caches Using Vary headers Controlling cache: Using other headers Order of MIDDLEWARE Conditional View Processing The condition decorator Shortcuts for only computing one migrations Data migrations and multiple databases Migrations that add unique fields Controlling the order of migrations Migrating data between third-party apps Changing a ManyToManyField to use a through to “capture” values from the URLs. When a user requests a page, Django runs through each path, in order, and stops at the first one that matches the requested URL. (If none of them matches, Django calls0 码力 | 3305 页 | 3.16 MB | 1 年前3
Django 4.1.x DocumentationAsynchronous support Downstream caches Using Vary headers Controlling cache: Using other headers Order of MIDDLEWARE Conditional View Processing The condition decorator Shortcuts for only computing one migrations Data migrations and multiple databases Migrations that add unique fields Controlling the order of migrations Migrating data between third-party apps Changing a ManyToManyField to use a through to “capture” values from the URLs. When a user requests a page, Django runs through each path, in order, and stops at the first one that matches the requested URL. (If none of them matches, Django calls0 码力 | 3240 页 | 3.13 MB | 1 年前3
Django 4.0.x DocumentationAsynchronous support Downstream caches Using Vary headers Controlling cache: Using other headers Order of MIDDLEWARE Conditional View Processing The condition decorator Shortcuts for only computing migrations Data migrations and multiple databases Migrations that add unique fields Controlling the order of migrations Migrating data between third-party apps Changing a ManyToManyField to use a through to “capture” values from the URLs. When a user requests a page, Django runs through each path, in order, and stops at the first one that matches the requested URL. (If none of them matches, Django calls0 码力 | 3184 页 | 3.14 MB | 1 年前3
Django 4.0.x Documentationto “capture” values from the URLs. When a user requests a page, Django runs through each path, in order, and stops at the first one that matches the requested URL. (If none of them matches, Django calls by the ROOT_URLCONF setting. It finds the variable named urlpatterns and traverses the patterns in order. After finding the match at 'polls/', it strips off the matching text ("polls/") and sends the remaining HttpResponse from .models import Question def index(request): latest_question_list = Question.objects.order_by('-pub_date')[:5] output = ', '.join([q.question_text for q in latest_question_list]) return HttpResponse(output)0 码力 | 2248 页 | 7.90 MB | 1 年前3
Django 2.2.x DocumentationThe low-level cache API Downstream caches Using Vary headers Controlling cache: Using other headers Order of MIDDLEWARE Conditional View Processing The condition decorator Shortcuts for only computing one migrations Data migrations and multiple databases Migrations that add unique fields Controlling the order of migrations Migrating data between third-party apps Changing an unmanaged model to managed Django to “capture” values from the URLs. When a user requests a page, Django runs through each path, in order, and stops at the first one that matches the requested URL. (If none of them matches, Django calls0 码力 | 2915 页 | 2.83 MB | 1 年前3
Django 5.1.2 DocumentationAsynchronous support Downstream caches Using Vary headers Controlling cache: Using other headers Order of MIDDLEWARE Conditional View Processing The condition decorator Shortcuts for only computing one migrations Data migrations and multiple databases Migrations that add unique fields Controlling the order of migrations Migrating data between third-party apps Changing a ManyToManyField to use a through to “capture” values from the URLs. When a user requests a page, Django runs through each path, in order, and stops at the first one that matches the requested URL. (If none of them matches, Django calls0 码力 | 3519 页 | 3.17 MB | 1 年前3
Django 5.1 DocumentationAsynchronous support Downstream caches Using Vary headers Controlling cache: Using other headers Order of MIDDLEWARE Conditional View Processing The condition decorator Shortcuts for only computing one migrations Data migrations and multiple databases Migrations that add unique fields Controlling the order of migrations Migrating data between third-party apps Changing a ManyToManyField to use a through to “capture” values from the URLs. When a user requests a page, Django runs through each path, in order, and stops at the first one that matches the requested URL. (If none of them matches, Django calls0 码力 | 3513 页 | 3.17 MB | 1 年前3
Django 5.1.2 Documentationto “capture”values from the URLs. When a user requests a page, Django runs through each path, in order, and stops at the first one that matches the requested URL. (If none of them matches, Django calls the ROOT_URLCONF setting. It finds the variable named urlpatterns and traverses the patterns in order. After finding the match at 'polls/', it strips off the matching text ("polls/") and sends the remaining HttpResponse from .models import Question def index(request): latest_question_list = Question.objects.order_by("-pub_date")[:5] output = ", ".join([q.question_text for q in latest_question_list]) return0 码力 | 2923 页 | 9.62 MB | 1 年前3
Django 5.1 Documentationto “capture”values from the URLs. When a user requests a page, Django runs through each path, in order, and stops at the first one that matches the requested URL. (If none of them matches, Django calls the ROOT_URLCONF setting. It finds the variable named urlpatterns and traverses the patterns in order. After finding the match at 'polls/', it strips off the matching text ("polls/") and sends the remaining HttpResponse from .models import Question def index(request): latest_question_list = Question.objects.order_by("-pub_date")[:5] output = ", ".join([q.question_text for q in latest_question_list]) return0 码力 | 2917 页 | 9.59 MB | 1 年前3
Django 3.2.x DocumentationThe low-level cache API Downstream caches Using Vary headers Controlling cache: Using other headers Order of MIDDLEWARE Conditional View Processing The condition decorator Shortcuts for only computing one migrations Data migrations and multiple databases Migrations that add unique fields Controlling the order of migrations Migrating data between third-party apps Changing a ManyToManyField to use a through to “capture” values from the URLs. When a user requests a page, Django runs through each path, in order, and stops at the first one that matches the requested URL. (If none of them matches, Django calls0 码力 | 3121 页 | 3.08 MB | 1 年前3
共 62 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













