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 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 1.8.x DocumentationThe low-level cache API Downstream caches Using Vary headers Controlling cache: Using other headers Order of MIDDLEWARE_CLASSES 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 Django FAQ FAQ: General Why does this project exist? What does “Django” mean, and “capture” values from the URLs. When a user requests a page, Django runs through each pattern, in order, and stops at the first one that matches the requested URL. (If none of them matches, Django calls0 码力 | 2454 页 | 2.85 MB | 1 年前3
Django 1.8.x Documentation“capture” values from the URLs. When a user requests a page, Django runs through each pattern, in order, and stops at the first one that matches the requested URL. (If none of them matches, Django calls impressive with only two fields, but for admin forms with dozens of fields, choosing an intuitive order is an important usability detail. And speaking of forms with dozens of fields, you might want to offers a tabular way of displaying inline related objects; you just need to change the ChoiceInline declaration to read: polls/admin.py class ChoiceInline(admin.TabularInline): #... With that TabularInline0 码力 | 1685 页 | 6.01 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.1.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 码力 | 2790 页 | 2.71 MB | 1 年前3
Django 2.1.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 码力 | 1910 页 | 6.49 MB | 1 年前3
Django 2.0.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 码力 | 2746 页 | 2.67 MB | 1 年前3
共 62 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













