per page, with , order by , clip by
Results of 1 - 10 of about 45 for body (0.006 sec.)
全文検索 14852
全文検索 django.contrib.postgres.search モジュールのデータベース関数は PostgreSQL の 全文検索エンジン を利用しやすくしています。 このドキュメントの例では、 クエリを作成する で定義されたモデルを使用します。 参考 検索の概要については、 トピッ ... の一般的な使用方法は、データベースの1つのカラムに対して1つの用語を検索することです。たとえば: >>> Entry . objects . filter ( body_text__search = "Cheese" ) <QuerySet [<Entry: Cheese on Toast recipes>, <Entry: Pizza Recipes>]> これにより、データベース内 ... の body_text フィールドから to_tsvector が作成され、検索語 'Cheese' から plainto_tsquery が作成されます。両方ともデフォルトのデータ ... >>> from django.contrib.postgres.search import SearchVector >>> Entry . objects . annotate ( ... search = SearchVector ( "body_text" , "blog__tagline" ), ... ) . filter ( search = "Cheese" ) <QuerySet [<Entry: Cheese on Toast recipes>, <Entry: Pizza ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/search.html
メールを送信する 11437
メールを送信する Django provides wrappers for Python's email and smtplib modules to simplify composing and sending email. Django's email framework also supports swapping in different delivery mechanisms: you can direct email to the console ... y_variable" : 42 }, ) # Then, create a multipart email instance. msg = EmailMultiAlternatives ( subject = "Subject here" , body = text_content , from_email = "from@example.com" , to = [ "to@example.com" ], headers = { "List-Unsubscribe" : "<mailto:un ... tional or keyword arguments, but must be in the given order if positional arguments are used: subject : メールの件名の行。 body : 本文のテキスト。プレーンテキストのメッセージでなければなりません。 from_email : The sender's address. Both fred@example. ... sitional arguments is deprecated. 例: from django.core.mail import EmailMessage email = EmailMessage ( subject = "Hello" , body = "Body goes here" , from_email = "from@example.com" , to = [ "to1@example.com" , "to2@example.com" ], bcc = [ "bcc@exampl ...
https://man.mtool.work/django/6.1/topics/email.html
Django 4.2.30 release notes 9814
Django 4.2.30 release notes April 7, 2026 Django 4.2.30 fixes one security issue with severity "moderate" and four security issues with severity "low" in 4.2.29. CVE-2026-3902: ASGI header spoofing via underscore/hyphen conflation ASGIReque ... a missing or understated Content-Length header could bypass the DATA_UPLOAD_MAX_MEMORY_SIZE limit when reading HttpRequest.body , potentially loading an unbounded request body into memory and causing service degradation. This issue has severity "low" ...
https://man.mtool.work/django/6.1/releases/4.2.30.html
Django 5.2.13 release notes 9814
Django 5.2.13 release notes April 7, 2026 Django 5.2.13 fixes one security issue with severity "moderate" and four security issues with severity "low" in 5.2.12. CVE-2026-3902: ASGI header spoofing via underscore/hyphen conflation ASGIReque ... a missing or understated Content-Length header could bypass the DATA_UPLOAD_MAX_MEMORY_SIZE limit when reading HttpRequest.body , potentially loading an unbounded request body into memory and causing service degradation. This issue has severity "low" ...
https://man.mtool.work/django/6.1/releases/5.2.13.html
Django 6.0.4 release notes 9462
Django 6.0.4 release notes April 7, 2026 Django 6.0.4 fixes one security issue with severity "moderate", four security issues with severity "low", and several bugs in 6.0.3. Also, the latest string translations from Transifex are incorporat ... a missing or understated Content-Length header could bypass the DATA_UPLOAD_MAX_MEMORY_SIZE limit when reading HttpRequest.body , potentially loading an unbounded request body into memory and causing service degradation. This issue has severity "low" ...
https://man.mtool.work/django/6.1/releases/6.0.4.html
ビューを記述する 9462
ビューを記述する ビュー関数、つまり view は、Web リクエストを受け取って Web レスポンスを返すPython 関数です。 このレスポンスは、WebページのHTMLコンテンツ、リダイレクトや404エラー、またはXMLドキュメントやイメージ、その他何にでもなり得ます (本 ... HttpResponse import datetime def current_datetime ( request ): now = datetime . datetime . now () html = '<html lang="en"><body>It is now %s .</body></html>' % now return HttpResponse ( html ) 1 行ずつコードを見ていきましょう: 最初に、Python の datet ... tp import HttpResponse async def current_datetime ( request ): now = datetime . datetime . now () html = '<html lang="en"><body>It is now %s .</body></html>' % now return HttpResponse ( html ) Django の非同期サポートや、非同期ビューの最適な使い方につ ...
https://man.mtool.work/django/6.1/topics/http/views.html
Django テンプレート言語 8207
Django テンプレート言語 このドキュメントはDjangoテンプレートシステムの文法を説明しています。もしあなたがもっと技術者的な観点でどう動かすかやどう拡張するかを知りたい場合は、 Python プログラマーのための Django テンプレート言語 を参照してくださ ... rel = "stylesheet" href = "style.css" > < title > {% block title %} My amazing site {% endblock %} </ title > </ head > < body > < div id = "sidebar" > {% block sidebar %} < ul > < li >< a href = "/" > Home </ a ></ li > < li >< a href = "/blog/" > ... Blog </ a ></ li > </ ul > {% endblock %} </ div > < div id = "content" > {% block content %}{% endblock %} </ div > </ body > </ html > 我々が base.html と呼ぶことになるこのテンプレートは、HTML の骨組みを定義し、2 列のサイトを表示できるようになっ ... ng blog {% endblock %} {% block content %} {% for entry in blog_entries %} < h2 > {{ entry.title }} </ h2 > < p > {{ entry.body }} </ p > {% endfor %} {% endblock %} ここで重要なのは extends タグです。このタグが、このテンプレートが他のテンプレートを ...
https://man.mtool.work/django/6.1/ref/templates/language.html
Django 2.1.5 リリースノート 8207
Django 2.1.5 リリースノート January 4, 2019 Django 2.1.5 fixes a security issue and several bugs in 2.1.4. CVE-2019-3498: Content spoofing possibility in the default 404 page An attacker could craft a malicious URL that could make spoofed c ... y of schema corruption ( #30023 ). Fixed a regression in Django 2.1.4 (which enabled keep-alive connections) where request body data isn't properly consumed for such connections ( #30015 ). Fixed a regression in Django 2.1.4 where InlineModelAdmin.ha ...
https://man.mtool.work/django/6.1/releases/2.1.5.html
テストツール 8207
テストツール Django は、テストを書くのに便利なツールをいくつか提供しています。 There are community-maintained solutions! Django has a vibrant ecosystem. There are testing and fixtures solutions highlighted on the Community Ecosystem page. T ... エストを作り、 Response オブジェクトを返します。RESTful インターフェイスのテスト時に有用です。 data が与えられると、request body として使われます。 content_type は Content-Type ヘッダーに設定されます。 follow 、 secure 、 headers 、 query_params 、およ ... エストを作り、 Response オブジェクトを返します。RESTful インターフェイスのテスト時に有用です。 data が与えられると、request body として使われます。 content_type は Content-Type ヘッダーに設定されます。 follow 、 secure 、 headers 、 query_params 、およ ... エストを作り、 Response オブジェクトを返します。RESTful インターフェイスのテスト時に有用です。 data が与えられると、request body として使われます。 content_type は Content-Type ヘッダーに設定されます。 follow 、 secure 、 headers 、 query_params 、およ ...
https://man.mtool.work/django/6.1/topics/testing/tools.html
コードのコミット 8023
コードのコミット This section is addressed to the mergers and to anyone interested in knowing how code gets committed into Django. The コミットガイドライン apply to all contributors, with or without commit rights. If you're a community memb ... ing to your judgment, please bring things up on the Django Forum before making the change. If you bring something up and nobody responds, please don't take that to mean your idea is great and should be implemented immediately because nobody contested ... by a blank line and then paragraphs of 72 char lines. The limits are soft. For the subject line, shorter is better. In the body of the commit message more detail is better than less, and should explain why the change was made, not what was changed or ... here A.B.x is the name of the stable/A.B.x branch being targeted. A suffix Backport of <sha> from main. line in the commit body, pointing to the original commit hash. 例えば: [1.3.x] Fixed #17028 -- Changed diveintopython.org -> diveintopython.net. B ...
https://man.mtool.work/django/6.1/internals/contributing/committing-code.html
PREV 1 2 3 4 5 NEXT