検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 45 for status (0.030 sec.)
django.utils.log — Django 4.0.6 ドキュメント 14010
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ) def format ( self , record ): msg = record . msg status_code = getattr ( record , "status_code" , None ) i ... f status_code : if 200 <= status_code < 300 : # Put 2XX fir ... = self . style . HTTP_SUCCESS ( msg ) elif 100 <= status_code < 200 : msg = self . style . HTTP_INFO ( msg ... ) elif status_code == 304 : msg = self . style . HTTP_NOT_MODIFI ...
https://man.plustar.jp/django/_modules/django/utils/log.html - [similar]
Admin actions — Django 4.0.6 ドキュメント 11866
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ith an Article model: from django.db import models STATUS_CHOICES = [ ( 'd' , 'Draft' ), ( 'p' , 'Published' ... ( max_length = 100 ) body = models . TextField () status = models . CharField ( max_length = 1 , choices = ... m with a model like this is to update an article's status from "draft" to "published". We could easily do th ... s write an action that lets us change an article's status to "published." Writing action functions ¶ First, ...
https://man.plustar.jp/django/ref/contrib/admin/actions.html - [similar]
リクエストとレスポンスのオブジェクト — Django 4.0.6 ドキュメント 11101
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... DEFAULT_CHARSET 設定が使用されます。 HttpResponse. status_code ¶ レスポンスの HTTP status code です。 reason ... 明示的にセットされていない限り、コンストラクタの外で status_code の値を変更すると``reason_phrase`` の値も変更さ ... y set, reason_phrase is determined by the value of status_code . HttpResponse. streaming ¶ これは常に False ... . __init__ ( content = b'' , content_type = None , status = 200 , reason = None , charset = None , headers = ...
https://man.plustar.jp/django/ref/request-response.html - [similar]
Django 1.1.2 リリースノート — Django 4.0.6 ドキュメント 10764
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... s-incompatible changes in 1.1.2 ¶ Test runner exit status code ¶ The exit status code of the test runners ( ... lure of 256 or more tests resulted in a wrong exit status code. The exit status code for the test runner is ... rds-incompatible changes in 1.1.2 Test runner exit status code Cookie encoding One new feature 前のトピックへ ... トピックへ Django 1.1 リリースノート 関連キーワード status , new , runner , tests , feature , features , enco ...
https://man.plustar.jp/django/releases/1.1.2.html - [similar]
テストツール — Django 4.0.6 ドキュメント 9814
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... : 'john' , 'password' : 'smith' }) >>> response . status_code 200 >>> response = c . get ( '/customer/detai ... トヘッダーが生成する WSGIRequest インスタンスです。 status_code ¶ レスポンスの HTTP ステータスで、数値です。 ... 定義済みのコードの全リストは、 IANA status code registry を参照してください。 templates ¶ 最終 ... onse codes. In these cases, you can check response.status_code in your test. If Client.raise_request_excepti ...
https://man.plustar.jp/django/topics/testing/tools.html - [similar]
TemplateResponse and SimpleTemplateResponse — Django 4.0.6 ドキュメント 9141
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... template , context = None , content_type = None , status = None , charset = None , using = None , headers = ... th the given template, context, content type, HTTP status, and charset. template A backend-dependent templat ... its value is used. Otherwise, 'text/html' is used. status レスポンスに対する HTTP のステータスコード charset ... template , context = None , content_type = None , status = None , charset = None , using = None , headers = ...
https://man.plustar.jp/django/ref/template-response.html - [similar]
How is Django Formed? — Django 4.0.6 ドキュメント 8023
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... is a pre-release package, update the "Development Status" trove classifier in setup.cfg to reflect this. Ot ... se, make sure the classifier is set to Development Status :: 5 - Production/Stable . Tag the release using g ... are: Major version. Minor version. Micro version. Status -- can be one of "alpha", "beta", "rc" or "final". ... beta 1", "beta 2", etc.). For a final release, the status is always "final" and the series number is always ...
https://man.plustar.jp/django/internals/howto-release-django.html - [similar]
ビューを記述する — Django 4.0.6 ドキュメント 8023
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... lasses of HttpResponse for a number of common HTTP status codes other than 200 (which means "OK" ). You can ... reated" (201) response code. return HttpResponse ( status = 201 ) 404 エラーは最も一般的な HTTP エラーなので ... ): return HttpResponse ( 'Error handler content' , status = 403 ) def permission_denied_view ( request ): ra ... ertContains ( response , 'Error handler content' , status_code = 403 ) 非同期ビュー ¶ As well as being synch ...
https://man.plustar.jp/django/topics/http/views.html - [similar]
モデルインスタンスリファレンス — Django 4.0.6 ドキュメント 7855
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... allow draft entries to have a pub_date. if self . status == 'draft' and self . pub_date is not None : raise ... hed items if it hasn't been set already. if self . status == 'published' and self . pub_date is None : self ... allow draft entries to have a pub_date. if self . status == 'draft' and self . pub_date is not None : raise ... () . clean_fields ( exclude = exclude ) if self . status == 'draft' and self . pub_date is not None : if ex ...
https://man.plustar.jp/django/ref/models/instances.html - [similar]
Django のショートカット関数 — Django 4.0.6 ドキュメント 7855
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... late_name , context = None , content_type = None , status = None , using = None ) ¶ Combines a given templat ... the resulting document. Defaults to 'text/html' . status The status code for the response. Defaults to 200 ...
https://man.plustar.jp/django/topics/http/shortcuts.html - [similar]
PREV 1 2 3 4 5 NEXT