Django 5.1 Documentationvote(request, question_id): return HttpResponse("You're voting on question %s." % question_id) Wire these new views into the polls.urls module by adding the following path() calls: polls/urls.py from may want two-phase commit [https://en.wikipedia.org/wiki/Two- phase_commit_protocol] such as the psycopg Two-Phase Commit protocol support [https://www.psycopg.org/psycopg3/docs/basic/transactions.html#two-phase- you don’t have the site framework installed, this will be set to the value of request.get_host(). protocol: http or https uid: The user’s primary key encoded in base 64. token: Token to check that the0 码力 | 3513 页 | 3.17 MB | 1 年前3
Django 5.1.2 Documentationvote(request, question_id): return HttpResponse("You're voting on question %s." % question_id) Wire these new views into the polls.urls module by adding the following path() calls: polls/urls.py from may want two-phase commit [https://en.wikipedia.org/wiki/Two- phase_commit_protocol] such as the psycopg Two-Phase Commit protocol support [https://www.psycopg.org/psycopg3/docs/basic/transactions.html#two-phase- you don’t have the site framework installed, this will be set to the value of request.get_host(). protocol: http or https uid: The user’s primary key encoded in base 64. token: Token to check that the0 码力 | 3519 页 | 3.17 MB | 1 年前3
Django 5.0.x Documentationvote(request, question_id): return HttpResponse("You're voting on question %s." % question_id) Wire these new views into the polls.urls module by adding the following path() calls: polls/urls.py from may want two-phase commit [https://en.wikipedia.org/wiki/Two- phase_commit_protocol] such as the psycopg Two-Phase Commit protocol support [https://www.psycopg.org/psycopg3/docs/basic/transactions.html#two-phase- you don’t have the site framework installed, this will be set to the value of request.get_host(). protocol: http or https uid: The user’s primary key encoded in base 64. token: Token to check that the0 码力 | 3407 页 | 3.21 MB | 1 年前3
Django 1.8.x Documentationdef vote(request, question_id): return HttpResponse("You're voting on question %s." % question_id) Wire these new views into the polls.urls module by adding the following url() calls: polls/urls.py from don’t have the site framework installed, this will be set to the value of request.get_host(). • protocol: http or https • uid: The user’s primary key encoded in base 64. • token: Token to check that body template): Someone asked for password reset for email {{ email }}. Follow the link below: {{ protocol}}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid ˓→token=token %} The same template0 码力 | 1685 页 | 6.01 MB | 1 年前3
Django 1.8.x Documentationvote(request, question_id): return HttpResponse("You're voting on question %s." % question_id) Wire these new views into the polls.urls module by adding the following url() calls: polls/urls.py from you don’t have the site framework installed, this will be set to the value of request.get_host(). protocol: http or https uid: The user’s primary key encoded in base 64. token: Token to check that the body template): Someone asked for password reset for email {{ email }}. Follow the link below: {{ protocol}}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %} The same template context0 码力 | 2454 页 | 2.85 MB | 1 年前3
Django 2.1.x Documentationdef vote(request, question_id): return HttpResponse("You're voting on question %s." % question_id) Wire these new views into the polls.urls module by adding the following path() calls: Listing 17: polls/urls the on_commit() hook. Instead, you may want two-phase commit such as the psycopg Two-Phase Commit protocol support and the optional Two-Phase Commit Extensions in the Python DB-API specification. Callbacks don’t have the site framework installed, this will be set to the value of request.get_host(). • protocol: http or https • uid: The user’s primary key encoded in base 64. • token: Token to check that0 码力 | 1910 页 | 6.49 MB | 1 年前3
Django 2.1.x Documentationvote(request, question_id): return HttpResponse("You're voting on question %s." % question_id) Wire these new views into the polls.urls module by adding the following path() calls: polls/urls.py from the on_commit() hook. Instead, you may want two-phase commit such as the psycopg Two-Phase Commit protocol support and the optional Two-Phase Commit Extensions in the Python DB-API specification. Callbacks you don’t have the site framework installed, this will be set to the value of request.get_host(). protocol: http or https uid: The user’s primary key encoded in base 64. token: Token to check that the0 码力 | 2790 页 | 2.71 MB | 1 年前3
Django 2.0.x Documentationdef vote(request, question_id): return HttpResponse("You're voting on question %s." % question_id) Wire these new views into the polls.urls module by adding the following path() calls: polls/urls.py from the on_commit() hook. Instead, you may want two-phase commit such as the psycopg Two-Phase Commit protocol support and the optional Two-Phase Commit Extensions in the Python DB-API specification. Callbacks don’t have the site framework installed, this will be set to the value of request.get_host(). • protocol: http or https • uid: The user’s primary key encoded in base 64. • token: Token to check that0 码力 | 1880 页 | 6.41 MB | 1 年前3
Django 2.2.x Documentationvote(request, question_id): return HttpResponse("You're voting on question %s." % question_id) Wire these new views into the polls.urls module by adding the following path() calls: polls/urls.py from the on_commit() hook. Instead, you may want two-phase commit such as the psycopg Two-Phase Commit protocol support and the optional Two-Phase Commit Extensions in the Python DB-API specification. Callbacks you don’t have the site framework installed, this will be set to the value of request.get_host(). protocol: http or https uid: The user’s primary key encoded in base 64. token: Token to check that the0 码力 | 2915 页 | 2.83 MB | 1 年前3
Django 2.0.x Documentationvote(request, question_id): return HttpResponse("You're voting on question %s." % question_id) Wire these new views into the polls.urls module by adding the following path() calls: polls/urls.py from the on_commit() hook. Instead, you may want two-phase commit such as the psycopg Two-Phase Commit protocol support and the optional Two-Phase Commit Extensions in the Python DB-API specification. Callbacks you don’t have the site framework installed, this will be set to the value of request.get_host(). protocol: http or https uid: The user’s primary key encoded in base 64. token: Token to check that the0 码力 | 2746 页 | 2.67 MB | 1 年前3
共 52 条
- 1
- 2
- 3
- 4
- 5
- 6













