per page, with , order by , clip by
Results of 1 - 10 of about 74 for status (0.006 sec.)
Django 1.1.2 リリースノート — Django 6.1 ドキュメント 11954
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.1.2 リリースノート ¶ Django 1.1.2 へようこそ! This is the second "bugfix" release in the Django 1.1 series, improving the stability and per ... features in the 1.1 branch, see the Django 1.1 リリースノート . Backwards-incompatible changes in 1.1.2 ¶ Test runner exit status code ¶ The exit status code of the test runners ( tests/runtests.py and python manage.py test ) no longer represents the n ... umber of failed tests, since a failure of 256 or more tests resulted in a wrong exit status code. The exit status code for the test runner is now 0 for success (no failing tests) and 1 for any number of test failur ... plate will work with Django 1.2. 目次 Django 1.1.2 リリースノート Backwards-incompatible changes in 1.1.2 Test runner exit status code Cookie encoding One new feature 前のトピックへ Django 1.1.3 リリースノート 次のトピックへ Django 1.1 リリースノート 関 ...
https://man.mtool.work/django/6.1/releases/1.1.2.html
Django 1.1.2 リリースノート — Django 6.1 ドキュメント 11717
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.1.2 リリースノート ¶ Django 1.1.2 へようこそ! This is the second "bugfix" release in the Django 1.1 series, improving the stability and per ... features in the 1.1 branch, see the Django 1.1 リリースノート . Backwards-incompatible changes in 1.1.2 ¶ Test runner exit status code ¶ The exit status code of the test runners ( tests/runtests.py and python manage.py test ) no longer represents the n ... umber of failed tests, since a failure of 256 or more tests resulted in a wrong exit status code. The exit status code for the test runner is now 0 for success (no failing tests) and 1 for any number of test failur ... plate will work with Django 1.2. 目次 Django 1.1.2 リリースノート Backwards-incompatible changes in 1.1.2 Test runner exit status code Cookie encoding One new feature 前のトピックへ Django 1.1.3 リリースノート 次のトピックへ Django 1.1 リリースノート 関 ...
https://man.mtool.work/django/6.1/releases/1.1.2.html
管理アクション — Django 6.1 ドキュメント 11480
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 管理アクション ¶ Djangoの管理者の基本的な仕事は、一言で言えば、「オブジェクトを選択し、それを変更する」ことに尽きます。これは大多数のユースケースに当 ... スはモデルの一括更新です。 Article モデルを持つニュースアプリケーションを想像してみてください: from django.db import models STATUS_CHOICES = { "d" : "Draft" , "p" : "Published" , "w" : "Withdrawn" , } class Article ( models . Model ): title = models . C ... harField ( max_length = 100 ) body = models . TextField () status = models . CharField ( max_length = 1 , choices = STATUS_CHOICES ) def __str__ ( self ): return self . title このようなモデ ... トを必要としませんが、クエリセットを使用します: def make_published ( modeladmin , request , queryset ): queryset . update ( status = "p" ) 注釈 最高のパフォーマンスを得るために、クエリセットの update メソッド を使用しています。他のタイプのアクションでは ...
https://man.mtool.work/django/6.1/ref/contrib/admin/actions.html
管理アクション — Django 6.1 ドキュメント 11132
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 管理アクション ¶ Djangoの管理者の基本的な仕事は、一言で言えば、「オブジェクトを選択し、それを変更する」ことに尽きます。これは大多数のユースケースに当 ... スはモデルの一括更新です。 Article モデルを持つニュースアプリケーションを想像してみてください: from django.db import models STATUS_CHOICES = { "d" : "Draft" , "p" : "Published" , "w" : "Withdrawn" , } class Article ( models . Model ): title = models . C ... harField ( max_length = 100 ) body = models . TextField () status = models . CharField ( max_length = 1 , choices = STATUS_CHOICES ) def __str__ ( self ): return self . title このようなモデ ... トを必要としませんが、クエリセットを使用します: def make_published ( modeladmin , request , queryset ): queryset . update ( status = "p" ) 注釈 最高のパフォーマンスを得るために、クエリセットの update メソッド を使用しています。他のタイプのアクションでは ...
https://man.mtool.work/django/6.1/ref/contrib/admin/actions.html
Django's Tasks framework — Django 6.1 ドキュメント 9460
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 ... ok at the Queue Store for new Tasks to run. When a new Task is added, a Worker claims the Task, executes it, and saves the status and result back to the Queue Store. These workers run outside the request-response lifecycle. Configuring a Task backend ¶ ... ImmediateBackend configured as the default backend: >>> result = double_dictionary . enqueue (( 1 , 2 , 3 )) >>> result . status FAILED >>> result . errors [ 0 ] . traceback Traceback (most recent call last): ... TypeError : unhashable type: 'list' Th ... t() . Calling get_result() on these backends will raise NotImplementedError . Updating results ¶ A TaskResult contains the status of a Task's execution at the point it was retrieved. If the Task finishes after get_result() is called, it will not update ...
https://man.mtool.work/django/6.1/topics/tasks.html
Django's Tasks framework — Django 6.1 ドキュメント 9460
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 ... ok at the Queue Store for new Tasks to run. When a new Task is added, a Worker claims the Task, executes it, and saves the status and result back to the Queue Store. These workers run outside the request-response lifecycle. Configuring a Task backend ¶ ... ImmediateBackend configured as the default backend: >>> result = double_dictionary . enqueue (( 1 , 2 , 3 )) >>> result . status FAILED >>> result . errors [ 0 ] . traceback Traceback (most recent call last): ... TypeError : unhashable type: 'list' Th ... t() . Calling get_result() on these backends will raise NotImplementedError . Updating results ¶ A TaskResult contains the status of a Task's execution at the point it was retrieved. If the Task finishes after get_result() is called, it will not update ...
https://man.mtool.work/django/6.1/topics/tasks.html
テストツール — Django 6.1 ドキュメント 9349
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストツール ¶ Django は、テストを書くのに便利なツールをいくつか提供しています。 There are community-maintained solutions! Django has a vibrant ecos ... ent >>> c = Client () >>> response = c . post ( "/login/" , { "username" : "john" , "password" : "smith" }) >>> response . status_code 200 >>> response = c . get ( "/customer/details/" ) >>> response . content b'<!DOCTYPE html...' この例が示唆しているよ ... せるリクエストデータです。 wsgi_request ¶ レスポンスを生成したテストハンドラーによって生成された WSGIRequest インスタンス。 status_code ¶ レスポンスの HTTP ステータスで、数値です。 定義済みのコードの全リストは、 IANA status code registry を参照してくださ ... です。Django はこれらの例外を内部でキャッチし、適切な HTTP レスポンスコードに変換します。これらの場合、テストでは response.status_code をチェックできます。 Client.raise_request_exception が False の場合、テストクライアントはブラウザに返されることになる ...
https://man.mtool.work/django/6.1/topics/testing/tools.html
テストツール — Django 6.1 ドキュメント 9349
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストツール ¶ Django は、テストを書くのに便利なツールをいくつか提供しています。 There are community-maintained solutions! Django has a vibrant ecos ... ent >>> c = Client () >>> response = c . post ( "/login/" , { "username" : "john" , "password" : "smith" }) >>> response . status_code 200 >>> response = c . get ( "/customer/details/" ) >>> response . content b'<!DOCTYPE html...' この例が示唆しているよ ... せるリクエストデータです。 wsgi_request ¶ レスポンスを生成したテストハンドラーによって生成された WSGIRequest インスタンス。 status_code ¶ レスポンスの HTTP ステータスで、数値です。 定義済みのコードの全リストは、 IANA status code registry を参照してくださ ... です。Django はこれらの例外を内部でキャッチし、適切な HTTP レスポンスコードに変換します。これらの場合、テストでは response.status_code をチェックできます。 Client.raise_request_exception が False の場合、テストクライアントはブラウザに返されることになる ...
https://man.mtool.work/django/6.1/topics/testing/tools.html
リクエストとレスポンスのオブジェクト — Django 6.1 ドキュメント 7691
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » リクエストとレスポンスのオブジェクト ¶ 簡単な概要 ¶ Django は、システムを通じてステータスを渡すために、リクエストとレスポンスのオブジェクトを使います ... されなかった場合、 content_type から抽出され、もしこれが失敗した場合は、 DEFAULT_CHARSET 設定が使用されます。 HttpResponse. status_code ¶ レスポンスの HTTP ステータスコード 。 reason_phrase が明示的にセットされていない限り、コンストラクタの外で status_c ... フレーズです。これは HTTP 標準の デフォルトの reason フレーズを使用します。 reason_phrase が明示的に設定されていない場合、 status_code の値に基づいて決定されます。 HttpResponse. streaming ¶ これは常に False です。 この属性は、ミドルウェアが通常のレスポ ... ¶ レスポンスが閉じられた場合、 True となります。 メソッド ¶ HttpResponse. __init__ ( content = b'' , content_type = None , status = 200 , reason = None , charset = None , headers = None ) [ソース] ¶ 指定されたページ内容、コンテンツタイプ、およびヘッダー ...
https://man.mtool.work/django/6.1/ref/request-response.html
リクエストとレスポンスのオブジェクト — Django 6.1 ドキュメント 7691
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » リクエストとレスポンスのオブジェクト ¶ 簡単な概要 ¶ Django は、システムを通じてステータスを渡すために、リクエストとレスポンスのオブジェクトを使います ... されなかった場合、 content_type から抽出され、もしこれが失敗した場合は、 DEFAULT_CHARSET 設定が使用されます。 HttpResponse. status_code ¶ レスポンスの HTTP ステータスコード 。 reason_phrase が明示的にセットされていない限り、コンストラクタの外で status_c ... フレーズです。これは HTTP 標準の デフォルトの reason フレーズを使用します。 reason_phrase が明示的に設定されていない場合、 status_code の値に基づいて決定されます。 HttpResponse. streaming ¶ これは常に False です。 この属性は、ミドルウェアが通常のレスポ ... ¶ レスポンスが閉じられた場合、 True となります。 メソッド ¶ HttpResponse. __init__ ( content = b'' , content_type = None , status = 200 , reason = None , charset = None , headers = None ) [ソース] ¶ 指定されたページ内容、コンテンツタイプ、およびヘッダー ...
https://man.mtool.work/django/6.1/ref/request-response.html
PREV 1 2 3 4 5 6 7 8 NEXT