検索

phrase: max: clip:
target: order:
Results of 31 - 40 of about 57 for HttpResponse (0.018 sec.)
メールを送信する — Django 4.0.6 ドキュメント 6887
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... BadHeaderError , send_mail from django.http import HttpResponse , HttpResponseRedirect def send_email ( request ): ... min@example.com' ]) except BadHeaderError : return HttpResponse ( 'Invalid header found.' ) return HttpResponseRed ... rm class # to get proper validation errors. return HttpResponse ( 'Make sure all fields are entered and valid.' ) ...
https://man.plustar.jp/django/topics/email.html - [similar]
はじめての Django アプリ作成、その 1 — Django 4.0.6 ドキュメント 6814
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... てください: polls/views.py ¶ from django.http import HttpResponse def index ( request ): return HttpResponse ( "Hell ...
https://man.plustar.jp/django/intro/tutorial01.html - [similar]
はじめての Django アプリ作成、その 4 — Django 4.0.6 ドキュメント 6814
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... てください: polls/views.py ¶ from django.http import HttpResponse , HttpResponseRedirect from django.shortcuts impor ... += 1 selected_choice . save () # Always return an HttpResponseRedirect after successfully dealing # with POST dat ... ted twice if a # user hits the Back button. return HttpResponseRedirect ( reverse ( 'polls:results' , args = ( que ... ウントをインクリメントした後、このコードは、 通常の HttpResponse ではなく HttpResponseRedirect を返します。 HttpRes ...
https://man.plustar.jp/django/intro/tutorial04.html - [similar]
GDAL API — Django 4.0.6 ドキュメント 6755
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... w to create a raster and return it as a file in an HttpResponse : >>> from django.http import HttpResponse >>> rst ... : range ( 36 ), 'nodata_value' : 99 }] ... }) >>> HttpResponse ( rast . vsi_buffer , 'image/tiff' ) Using other V ...
https://man.plustar.jp/django/ref/contrib/gis/gdal.html - [similar]
クロスサイトリクエストフォージェリ (CSRF) 対策 — Django 4.0.6 ドキュメント 6755
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... y the middleware. Example: from django.http import HttpResponse from django.views.decorators.csrf import csrf_exem ... pt @csrf_exempt def my_view ( request ): return HttpResponse ( 'Hello world' ) requires_csrf_token ( view ) ¶ N ...
https://man.plustar.jp/django/ref/csrf.html - [similar]
Django 1.3 release notes — Django 4.0.6 ドキュメント 6755
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... , you can't (easily) modify the content of a basic HttpResponse after it has been constructed. To overcome this li ... .3 adds a new TemplateResponse class. Unlike basic HttpResponse objects, TemplateResponse objects retain the detai ...
https://man.plustar.jp/django/releases/1.3.html - [similar]
Django 1.8.3 リリースノート — Django 4.0.6 ドキュメント 6755
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... r expressions). If you use values with newlines in HTTP response or email headers, you can suffer from header inje ... on attacks. Django itself isn't vulnerable because HttpResponse and the mail sending utilities in django.core.mail ... tors have been fixed in Django, if you're creating HTTP responses or email messages in other ways, it's a good ide ...
https://man.plustar.jp/django/releases/1.8.3.html - [similar]
Django 1.8 リリースノート — Django 4.0.6 ドキュメント 6755
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... with the documentation and with WSGIRequest . The HttpResponse.charset attribute was added. WSGIRequestHandler no ... n of a Uniform Resource Identifier (URI) properly. HttpResponse now implements a few additional methods like getva ... t instances can be used as stream objects. The new HttpResponse.setdefault() method allows setting a header unless ...
https://man.plustar.jp/django/releases/1.8.html - [similar]
Django 1.9 リリースノート — Django 4.0.6 ドキュメント 6755
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... , and bulk_create() . Request と Response ¶ Unless HttpResponse.reason_phrase is explicitly set, it now is determi ... ned by the current value of HttpResponse.status_code . Modifying the value of status_code o ... missionDenied exception as opposed to returning an HttpResponseForbidden so that handler403 is invoked. Added Http ... eturn a response with an HTTP 404 status code. Use HttpResponseNotFound or pass status=404 to the HttpResponse . O ...
https://man.plustar.jp/django/releases/1.9.html - [similar]
How to upgrade Django to a newer version — Django 4.0.6 ドキュメント 6681
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... されません。過去の非互換性の例では、pickle 化された HttpResponse オブジェクトを、 cache_page() デコレータを介して直 ...
https://man.plustar.jp/django/howto/upgrade-version.html - [similar]
PREV 1 2 3 4 5 6 NEXT