per page, with , order by , clip by
Results of 1 - 10 of about 126 for results (0.003 sec.)
Django's Tasks framework — Django 6.1 ドキュメント 11426
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django's Tasks framework ¶ New in Django 6.0: For older Django versions, the django-tasks backport is available. For a web application, there's ofte ... kground worker in your tests. ダミーバックエンド ¶ The DummyBackend doesn't execute enqueued Tasks at all, instead storing results for later use. Task results will forever remain in the READY state. This backend is not intended for use in production - i ... tasks.backends.dummy.DummyBackend" : TASKS = { "default" : { "BACKEND" : "django.tasks.backends.dummy.DummyBackend" }} The results for enqueued Tasks can be retrieved from the backend's results attribute: >>> from django.tasks import default_task_backen ... d >>> my_task . enqueue () >>> len ( default_task_backend . results ) 1 Stored results can be cleared using the clear() method: >>> default_task_backend . clear () >>> len ( default_task_bac ...
https://man.mtool.work/django/6.1/topics/tasks.html
Django's Tasks framework — Django 6.1 ドキュメント 10911
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django's Tasks framework ¶ New in Django 6.0: For older Django versions, the django-tasks backport is available. For a web application, there's ofte ... kground worker in your tests. ダミーバックエンド ¶ The DummyBackend doesn't execute enqueued Tasks at all, instead storing results for later use. Task results will forever remain in the READY state. This backend is not intended for use in production - i ... tasks.backends.dummy.DummyBackend" : TASKS = { "default" : { "BACKEND" : "django.tasks.backends.dummy.DummyBackend" }} The results for enqueued Tasks can be retrieved from the backend's results attribute: >>> from django.tasks import default_task_backen ... d >>> my_task . enqueue () >>> len ( default_task_backend . results ) 1 Stored results can be cleared using the clear() method: >>> default_task_backend . clear () >>> len ( default_task_bac ...
https://man.mtool.work/django/6.1/topics/tasks.html
はじめての Django アプリ作成、その 4 — Django 6.1 ドキュメント 10801
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » はじめての Django アプリ作成、その 4 ¶ このチュートリアルは チュートリアルその 3 の続きです。ここでは、引き続きWeb投票アプリケーションの開発を例にし ... his prevents data from being posted twice if a # user hits the Back button. return HttpResponseRedirect ( reverse ( "polls:results" , args = ( question . id ,))) このコードには、これまでのチュートリアルで扱っていなかったことがいくつか入っています: reque ... チュートリアルその 3 で設定した URLconf を使っているので、 reverse() を呼ぶと、次のような文字列が返ってきます。 "/polls/3/results/" この 3 は question.id の値です。 リダイレクト先の URL は 'results' ビューを呼び出し、最終的なページを表示します。 チュー ... イレクトします。このビューを書いてみましょう。 polls/views.py ¶ from django.shortcuts import get_object_or_404 , render def results ( request , question_id ): question = get_object_or_404 ( Question , pk = question_id ) return render ( request , "polls/r ...
https://man.mtool.work/django/6.1/intro/tutorial04.html
はじめての Django アプリ作成、その 4 — Django 6.1 ドキュメント 10690
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » はじめての Django アプリ作成、その 4 ¶ このチュートリアルは チュートリアルその 3 の続きです。ここでは、引き続きWeb投票アプリケーションの開発を例にし ... his prevents data from being posted twice if a # user hits the Back button. return HttpResponseRedirect ( reverse ( "polls:results" , args = ( question . id ,))) このコードには、これまでのチュートリアルで扱っていなかったことがいくつか入っています: reque ... チュートリアルその 3 で設定した URLconf を使っているので、 reverse() を呼ぶと、次のような文字列が返ってきます。 "/polls/3/results/" この 3 は question.id の値です。 リダイレクト先の URL は 'results' ビューを呼び出し、最終的なページを表示します。 チュー ... イレクトします。このビューを書いてみましょう。 polls/views.py ¶ from django.shortcuts import get_object_or_404 , render def results ( request , question_id ): question = get_object_or_404 ( Question , pk = question_id ) return render ( request , "polls/r ...
https://man.mtool.work/django/6.1/intro/tutorial04.html
Tasks — Django 6.1 ドキュメント 9955
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Tasks ¶ New in Django 6.0. The Task framework provides the contract and plumbing for background work, not the engine that runs it. The Tasks API def ... lt currently being run. attempt [ソース] ¶ The number of the current execution attempts for this Task, starting at 1. Task results ¶ class TaskResultStatus [ソース] ¶ An Enum representing the status of a TaskResult . READY ¶ The Task has just been enque ... on, or was unable to start. SUCCESSFUL ¶ The Task has finished executing successfully. class TaskResult [ソース] ¶ The TaskResult stores the information about a specific execution of a Task . Attributes of TaskResult cannot be modified. task ¶ The Task ... rmat of the id will depend on the backend being used. Task result ids are always strings less than 64 characters. See Task results for more details. status ¶ The status of the result. enqueued_at ¶ The time when the Task was enqueued. started_at ¶ The t ...
https://man.mtool.work/django/6.1/ref/tasks.html
Tasks — Django 6.1 ドキュメント 9857
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Tasks ¶ New in Django 6.0. The Task framework provides the contract and plumbing for background work, not the engine that runs it. The Tasks API def ... lt currently being run. attempt [ソース] ¶ The number of the current execution attempts for this Task, starting at 1. Task results ¶ class TaskResultStatus [ソース] ¶ An Enum representing the status of a TaskResult . READY ¶ The Task has just been enque ... on, or was unable to start. SUCCESSFUL ¶ The Task has finished executing successfully. class TaskResult [ソース] ¶ The TaskResult stores the information about a specific execution of a Task . Attributes of TaskResult cannot be modified. task ¶ The Task ... rmat of the id will depend on the backend being used. Task result ids are always strings less than 64 characters. See Task results for more details. status ¶ The status of the result. enqueued_at ¶ The time when the Task was enqueued. started_at ¶ The t ...
https://man.mtool.work/django/6.1/ref/tasks.html
はじめての Django アプリ作成、その 3 — Django 6.1 ドキュメント 9330
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » はじめての Django アプリ作成、その 3 ¶ このチュートリアルは チュートリアルその 2 の続きです。ここでは、引続き Web 投票アプリケーションの開発を例にし ... ews.py ¶ def detail ( request , question_id ): return HttpResponse ( "You're looking at question %s ." % question_id ) def results ( request , question_id ): response = "You're looking at the results of question %s ." return HttpResponse ( response % qu ... index , name = "index" ), # ex: /polls/5/ path ( "<int:question_id>/" , views . detail , name = "detail" ), # ex: /polls/5/results/ path ( "<int:question_id>/results/" , views . results , name = "results" ), # ex: /polls/5/vote/ path ( "<int:question_id ... = "vote" ), ] ブラウザで "/polls/34/" を見てください。 detail() 関数が実行され、URLで指定したIDが表示されます。 "/polls/34/results/" と "/polls/34/vote/" も試してみてください--これらはプレースホルダの結果と投票ページを表示します。 誰かがWebサイトの 「/p ...
https://man.mtool.work/django/6.1/intro/tutorial03.html
はじめての Django アプリ作成、その 3 — Django 6.1 ドキュメント 8900
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » はじめての Django アプリ作成、その 3 ¶ このチュートリアルは チュートリアルその 2 の続きです。ここでは、引続き Web 投票アプリケーションの開発を例にし ... ews.py ¶ def detail ( request , question_id ): return HttpResponse ( "You're looking at question %s ." % question_id ) def results ( request , question_id ): response = "You're looking at the results of question %s ." return HttpResponse ( response % qu ... index , name = "index" ), # ex: /polls/5/ path ( "<int:question_id>/" , views . detail , name = "detail" ), # ex: /polls/5/results/ path ( "<int:question_id>/results/" , views . results , name = "results" ), # ex: /polls/5/vote/ path ( "<int:question_id ... = "vote" ), ] ブラウザで "/polls/34/" を見てください。 detail() 関数が実行され、URLで指定したIDが表示されます。 "/polls/34/results/" と "/polls/34/vote/" も試してみてください--これらはプレースホルダの結果と投票ページを表示します。 誰かがWebサイトの 「/p ...
https://man.mtool.work/django/6.1/intro/tutorial03.html
Django 1.6.11 リリースノート — Django 6.1 ドキュメント 7956
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.6.11 リリースノート ¶ March 18, 2015 Django 1.6.11 fixes two security issues in 1.6.10. Denial-of-service possibility with strip_tags() ¶ L ... hanged to work iteratively. The problem is that the size of the input it's processing can increase on each iteration which results in an infinite loop in strip_tags() . This issue only affects versions of Python that haven't received a bugfix in HTMLPar ... it detects the length of the string it's processing increases. Remember that absolutely NO guarantee is provided about the results of strip_tags() being HTML safe. So NEVER mark safe the result of a strip_tags() call without escaping it first, for examp ... ースノート 関連キーワード strip tags safe URLs input issue user redirect control characters security problem it's processing results versions namely also example attack relies browsers ignore リリースノート March クイック検索 Last update: 2026年10月09日 « ...
https://man.mtool.work/django/6.1/releases/1.6.11.html
Django 1.6.11 リリースノート — Django 6.1 ドキュメント 7858
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.6.11 リリースノート ¶ March 18, 2015 Django 1.6.11 fixes two security issues in 1.6.10. Denial-of-service possibility with strip_tags() ¶ L ... hanged to work iteratively. The problem is that the size of the input it's processing can increase on each iteration which results in an infinite loop in strip_tags() . This issue only affects versions of Python that haven't received a bugfix in HTMLPar ... it detects the length of the string it's processing increases. Remember that absolutely NO guarantee is provided about the results of strip_tags() being HTML safe. So NEVER mark safe the result of a strip_tags() call without escaping it first, for examp ... キーワード strip tags safe Django URLs input issue Python user redirect control characters security problem it's processing results versions namely also 関連するページ Django 1.7.7 リリースノート Django 5.1.4 リリースノート Django 4.2.17 リリースノート D ...
https://man.mtool.work/django/6.1/releases/1.6.11.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT