検索

phrase: max: clip:
target: order:
Results of 31 - 40 of about 187 for request (0.034 sec.)
Working with Git and GitHub — Django 4.0.6 ドキュメント 6229
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... e community can contribute code to Django via pull requests. If you're interested in how mergers handle them, ... , we are going to show how to create a GitHub pull request containing the changes for Trac ticket #xxxxx. By ... creating a fully-ready pull request, you will make the reviewer's job easier, meaning ... to be pulled into Django, you should create a pull request at GitHub. A good pull request means: commits with ...
https://man.plustar.jp/django/internals/contributing/writing-code/working-with-g... - [similar]
mixinを編集する — Django 4.0.6 ドキュメント 6164
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... initial argument is set to get_initial() . If the request is a POST or PUT , the request data ( request.POST ... and request.FILES ) will also be provided. get_prefix () ¶ Det ... jango.views.generic.base.View メソッドと属性 get ( request , * args , ** kwargs ) ¶ Renders a response using ... a context created with get_context_data() . post ( request , * args , ** kwargs ) ¶ Constructs a form, checks ...
https://man.plustar.jp/django/ref/class-based-views/mixins-editing.html - [similar]
モデルからフォームを作成する — Django 4.0.6 ドキュメント 6164
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... orm instance from POST data. >>> f = ArticleForm ( request . POST ) # Save a new Article object from the form ... e . objects . get ( pk = 1 ) >>> f = ArticleForm ( request . POST , instance = a ) >>> f . save () フォームが ... form instance with POST data. >>> f = AuthorForm ( request . POST ) # Create, but don't save the new author i ... POST data. >>> a = Author () >>> f = AuthorForm ( request . POST , instance = a ) # Create and save the new ...
https://man.plustar.jp/django/topics/forms/modelforms.html - [similar]
Django 1.2 リリースノート — Django 4.0.6 ドキュメント 6131
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ion. Vastly improved protection against Cross-Site Request Forgery (CSRF). A new user "messages" framework wi ... ow has much improved protection against Cross-Site Request Forgery (CSRF) attacks . This type of attack occur ... nd allows you to temporarily store messages in one request and retrieve them for display in a subsequent requ ... eds. Like any other view, feeds views are passed a request object, so you can do anything you would normally ...
https://man.plustar.jp/django/releases/1.2.html - [similar]
クラスベースのビューでミックスインを使用する — Django 4.0.6 ドキュメント 6131
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... in an author.""" model = Author def post ( self , request , * args , ** kwargs ): if not request . user . is ... e = "books/publisher_detail.html" def get ( self , request , * args , ** kwargs ): self . object = self . get ... lisher . objects . all ()) return super () . get ( request , * args , ** kwargs ) def get_context_data ( self ... = { 'pk' : self . object . pk }) def post ( self , request , * args , ** kwargs ): if not request . user . is ...
https://man.plustar.jp/django/topics/class-based-views/mixins.html - [similar]
複数のデータベース — Django 4.0.6 ドキュメント 6087
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ed to decide which database should receive a given request. At present, the only hint that will be provided i ... database. using = 'other' def save_model ( self , request , obj , form , change ): # Tell Django to save obj ... ( using = self . using ) def delete_model ( self , request , obj ): # Tell Django to delete objects from the ... ( using = self . using ) def get_queryset ( self , request ): # Tell Django to look for objects on the 'other ...
https://man.plustar.jp/django/topics/db/multi-db.html - [similar]
はじめての Django アプリ作成、その 4 — Django 4.0.6 ドキュメント 6054
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... .models import Choice , Question # ... def vote ( request , question_id ): question = get_object_or_404 ( Qu ... lected_choice = question . choice_set . get ( pk = request . POST [ 'choice' ]) except ( KeyError , Choice . ... edisplay the question voting form. return render ( request , 'polls/detail.html' , { 'question' : question , ... リアルで扱っていなかったことがいくつか入っています: request.POST は辞書のようなオブジェクトです。キーを指定する ...
https://man.plustar.jp/django/intro/tutorial04.html - [similar]
Base views — Django 4.0.6 ドキュメント 6054
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... mport View class MyView ( View ): def get ( self , request , * args , ** kwargs ): return HttpResponse ( 'Hel ... なビューを返します: response = MyView . as_view ()( request ) 返されたビューは、 view_class と view_initkwargs ... を持っています。 When the view is called during the request/response cycle, the setup() method assigns the Htt ... pRequest to the view's request attribute, and any positiona ...
https://man.plustar.jp/django/ref/class-based-views/base.html - [similar]
Django 1.7 release notes — Django 4.0.6 ドキュメント 6054
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... or inside TransactionTestCase unless specifically requested . It is not advised to have apps without migrati ... he admin's search fields can now be customized per-request thanks to the new django.contrib.admin.ModelAdmin. ... ConditionalGetMiddleware to handle conditional GET requests for sitemaps which set lastmod . django.contrib.s ... Middleware allows setting the current site on each request. django.contrib.staticfiles ¶ The static files sto ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
クラスベースビュー入門 — Django 4.0.6 ドキュメント 6021
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 数の規約だけでした。Django は、定義された関数に HttpRequest を渡して、 HttpResponse が返ってくることを期待して ... from django.http import HttpResponse def my_view ( request ): if request . method == 'GET' : # <view logic> r ... mport View class MyView ( View ): def get ( self , request ): # <view logic> return HttpResponse ( 'result' ) ... w ( View ): greeting = "Good Day" def get ( self , request ): return HttpResponse ( self . greeting ) サブクラ ...
https://man.plustar.jp/django/topics/class-based-views/intro.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 12 13 NEXT