per page, with , order by , clip by
Results of 1 - 10 of about 90 for body (0.005 sec.)
全文検索 — Django 6.1 ドキュメント 13388
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 全文検索 ¶ 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
全文検索 — Django 6.1 ドキュメント 12761
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 全文検索 ¶ 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
メールを送信する — Django 6.1 ドキュメント 9801
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » メールを送信する ¶ Django provides wrappers for Python's email and smtplib modules to simplify composing and sending email. Django's email framework ... 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 6.1 ドキュメント 9801
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » メールを送信する ¶ Django provides wrappers for Python's email and smtplib modules to simplify composing and sending email. Django's email framework ... 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 6.1 ドキュメント 8867
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ビューを記述する ¶ ビュー関数、つまり view は、Web リクエストを受け取って Web レスポンスを返すPython 関数です。 このレスポンスは、WebページのHTMLコン ... 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 の非同期サポートや、非同期ビューの最適な使い方につ ... view コード http return response 非同期 レスポンス Http オーバーライド views current found テンプレート ドキュメント 場所 body 方法 サブクラス HttpResponseNotFound クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/topics/http/views.html
Django のセキュリティポリシー — Django 6.1 ドキュメント 8707
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django のセキュリティポリシー ¶ Django の開発チームは、セキュリティ関連の問題の責任ある報告と開示に強くコミットしています。そのため、私たちはその理想 ... nse def my_proof_of_concept ( request ): email = request . GET . get ( "email" , "" ) send_mail ( "Email subject" , "Email body" , email , [ "admin@example.com" ]) return JsonResponse ( status = 200 ) Developers must always validate and sanitize inpu ... oof_of_concept ( request ): form = EmailForm ( request . GET ) if form . is_valid (): send_mail ( "Email subject" , "Email body" , form . cleaned_data [ "email" ], [ "admin@example.com" ], ) return JsonResponse ( status = 200 ) return JsonResponse ( ... uilt-in development server does not enforce these limits because it is not designed to be a production server. The request body must be under 2.5 MB ¶ The DATA_UPLOAD_MAX_MEMORY_SIZE setting limits the default maximum request body size to 2.5 MB. As ...
https://man.mtool.work/django/6.1/internals/security.html
Django のセキュリティポリシー — Django 6.1 ドキュメント 8241
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django のセキュリティポリシー ¶ Django の開発チームは、セキュリティ関連の問題の責任ある報告と開示に強くコミットしています。そのため、私たちはその理想 ... nse def my_proof_of_concept ( request ): email = request . GET . get ( "email" , "" ) send_mail ( "Email subject" , "Email body" , email , [ "admin@example.com" ]) return JsonResponse ( status = 200 ) Developers must always validate and sanitize inpu ... oof_of_concept ( request ): form = EmailForm ( request . GET ) if form . is_valid (): send_mail ( "Email subject" , "Email body" , form . cleaned_data [ "email" ], [ "admin@example.com" ], ) return JsonResponse ( status = 200 ) return JsonResponse ( ... uilt-in development server does not enforce these limits because it is not designed to be a production server. The request body must be under 2.5 MB ¶ The DATA_UPLOAD_MAX_MEMORY_SIZE setting limits the default maximum request body size to 2.5 MB. As ...
https://man.mtool.work/django/6.1/internals/security.html
ビューを記述する — Django 6.1 ドキュメント 8080
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » ビューを記述する ¶ ビュー関数、つまり view は、Web リクエストを受け取って Web レスポンスを返すPython 関数です。 このレスポンスは、WebページのHTMLコン ... 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 4.2.30 release notes — Django 6.1 ドキュメント 8080
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 " ... 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 — Django 6.1 ドキュメント 8080
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 " ... 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
PREV 1 2 3 4 5 6 7 8 9 NEXT