per page, with , order by , clip by
Results of 1 - 10 of about 108 for core (0.006 sec.)
索引 13064
索引 記号 | _ | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | ア | イ | ク | コ | シ | ス | テ | ハ | ヒ | フ | メ | モ | ロ | 具 | 国 | 環 | 翻 | 表 | 言 | 長 記号 -- dbshell コマン ... e のメソッド) _base_manager (Model の属性) _default_manager (Model の属性) _is_pk_set() (Model のメソッド) _open() (django.core.files.storage モジュール) _save() (django.core.files.storage モジュール) _state (Model の属性) A A (django.contrib.gis.mea ... (ContentType の属性) (Options の属性) app_name (ResolverMatch の属性) app_names (ResolverMatch の属性) AppCommand (django.core.management のクラス) AppConfig (django.apps のクラス) APPEND_SLASH setting appendlist() (QueryDict のメソッド) AppRegistry ... tils.decorators モジュール) async_to_sync() (asgiref.sync モジュール) AsyncClient (django.test のクラス) AsyncPage (django.core.paginator のクラス) AsyncPaginator (django.core.paginator のクラス) AsyncRequestFactory (django.test のクラス) ATan (djang ...
https://man.mtool.work/django/6.1/genindex.html
Pythonモジュール索引 11571
Pythonモジュール索引 a | c | d | f | h | m | s | t | u | v a django.apps c django.conf django.conf.urls django.conf.urls.i18n django.contrib django.contrib.admin Django's admin site. django.contrib.admindocs Django's admin documentation gen ... atic files. django.contrib.syndication A framework for generating syndication feeds, in RSS and Atom, quite easily. django.core django.core.checks django.core.exceptions Django core exceptions django.core.files File handling and storage django.core.f ... iles.storage django.core.files.uploadedfile Classes representing uploaded files. django.core.files.uploadhandler Django's handlers for file uploads ... . django.core.mail Helpers to send email. django.core.management django.core.paginator Classes to help you easily manage paginated data. ...
https://man.mtool.work/django/6.1/py-modindex.html
メールを送信する 10640
メールを送信する 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 ... or a file during development and an SMTP server or email service provider in production. コードは django.core.mail モジュールにあります。 簡単な例 簡単なメール送信には send_mail() を使用します。たとえば、プレーンテキストのメッセージ ... を送信するには、次のようにします。 from django.core.mail import send_mail send_mail ( "Subject here" , "Here is the message." , "from@example.com" , [ "to@example.com" ], ) W ... HTML and plain text versions with a specific template and custom headers, you can use the following approach: from django.core.mail import EmailMultiAlternatives from django.template.loader import render_to_string # First, render the plain text cont ...
https://man.mtool.work/django/6.1/topics/email.html
Django の機能廃止のタイムライン 10129
Django の機能廃止のタイムライン このドキュメントは、 非推奨化ポリシー に従って、Django の様々なパーツが互換性を伴わない方法で変更または削除されるタイミングについて概説しています。各項目についての詳細は、多くの場合 2 つ前のバージョンのリリー ... (name, address) tuples will be removed. The orphans argument being larger than or equal to the per_page argument of django.core.paginator.Paginator and django.core.paginator.AsyncPaginator will no longer be allowed. The django.core.mail APIs will no ... .MIMEBase object to EmailMessage.attach() (or including one in the message's attachments list) will be removed. The django.core.mail.BadHeaderError exception will be removed. The django.core.mail.SafeMIMEText and SafeMIMEMultipart classes will be rem ... oved. The django.core.mail.forbid_multi_line_headers() and django.core.mail.message.sanitize_address() functions will be removed. See the Django ...
https://man.mtool.work/django/6.1/internals/deprecation.html
staticfiles アプリ 10078
staticfiles アプリ django.contrib.staticfiles は、各アプリケーション(と、あらかじめ指定した他の場所)から静的ファイルを収集し、本番環境で簡単に提供できるように一か所にまとめます。 参考 静的ファイルアプリの導入と活用例については、 静的ファイ ... .] 有効な検索機能を使用して、1つ以上の相対パスを検索します。 例: /  $ python manage.py findstatic css/base.css admin/js/core.js Found 'css/base.css' here: /home/special.polls.com/core/static/css/base.css /home/polls.com/core/static/css/base.css Fo ... und 'admin/js/core.js' here: /home/polls.com/src/django/contrib/admin/media/js/core.js ...\> py manage.py findstatic css\base.css admin\js\co ... re.js Found 'css/base.css' here: /home/special.polls.com/core/static/css/base.css /home/polls.com/core/static/css/base.css Found 'admin/js/core.js' here: /home/polls.com/src/django/con ...
https://man.mtool.work/django/6.1/ref/contrib/staticfiles.html
Django のキャッシュフレームワーク 9390
Django のキャッシュフレームワーク 動的なウェブサイトの基本的なトレードオフは、ええと、それが動的であるということです。ユーザーがページをリクエストするたびに、ウェブサーバーはあらゆる種類の計算を行い (データベースのクエリから、テンプレートの ... つかありますが、 Django がサポートしているのは pylibmc と pymemcache です。 Django で Memcached を使用する BACKEND を django.core.cache.backends.memcached.PyMemcacheCache または django.core.cache.backends.memcached.PyLibMCCache (選択した memcached バイ ... .0.1) port 11211 で起動していて、 pymemcache バインディングを使用しています。 CACHES = { "default" : { "BACKEND" : "django.core.cache.backends.memcached.PyMemcacheCache" , "LOCATION" : "127.0.0.1:11211" , } } 次の例では、Memcached はローカルの Unix s ... ached.sock 経由で利用可能であり、 pymemcache バインディングを使用しています。 CACHES = { "default" : { "BACKEND" : "django.core.cache.backends.memcached.PyMemcacheCache" , "LOCATION" : "unix:/tmp/memcached.sock" , } } Memcached の優れた機能の一つは、 ...
https://man.mtool.work/django/6.1/topics/cache.html
ファイルの管理 8828
ファイルの管理 この文書では、ユーザがアップロードしたようなファイルに対する Django のファイルアクセス API について説明します。下位レベルの API は十分一般的なので、他の目的にも使えます。"静的ファイル" (JS や CSS など) を扱いたい場合は、 静的 ... . path == new_path True ディスク上の既存のファイルを FileField に保存します: >>> from pathlib import Path >>> from django.core.files import File >>> path = Path ( "/some/external/specs.pdf" ) >>> car = Car . objects . get ( name = "57 Chevy" ) >>> w ... e=RGB size=191x287 at 0x7F99A94E9048> File オブジェクト 内部的には、Django はファイルを表現する必要があるときは常に django.core.files.File インスタンスを使います。 たいていの場合、Django から与えられた ファイル を使うことになるでしょう (つまり、上記の ... le を作成する必要がある場合、最も簡単な方法は Python 組み込みの file オブジェクトを使って作成することです: >>> from django.core.files import File # Create a Python file object using open() >>> f = open ( "/path/to/hello.world" , "w" ) >>> myfile = Fi ...
https://man.mtool.work/django/6.1/topics/files.html
暗号署名 8394
暗号署名 ウェブアプリケーションのセキュリティの黄金律は、信頼できない情報源からのデータを決して信頼しないことです。時には、信頼されていない媒体を通してデータを渡すことが有用な場合もあります。暗号的に署名された値は、改ざんが検知されることを前 ... たデータを検証するために使用されるので、安全に保つ必要があります。 低レベルの API を利用する Django の署名メソッドは django.core.signing モジュールにあります。値に署名するには、まず Signer インスタンスを作成します。 >>> from django.core.signing import ... 'Hello!'} 詳細は 複雑なデータ構造の保護 を参照してください。 何らかの理由により署名の値が書き換わってしまった場合、 django.core.signing.BadSignature 例外が起こります。 >>> from django.core import signing >>> value += "m" >>> try : ... original = sign ... values. sep cannot be in the URL safe base64 alphabet . This alphabet contains alphanumeric characters, hyphens, and underscores. algorithm must be an algorithm supported by hashlib , it defaults to 'sha256' . fallback_keys is a list of additional va ...
https://man.mtool.work/django/6.1/topics/signing.html
システムチェックフレームワーク 7642
システムチェックフレームワーク システムチェックフレームワークは、Django プロジェクトを検証するための静的チェックのセットです。一般的な問題を検出し、それらを修正するヒントを提供します。このフレームワークは拡張性があり、独自のチェックを簡単に ... 、必要に応じて任意の種類のチェックを実行する関数を書くことができます。以下は、例としてのスタブチェック関数です。 from django.core.checks import Error , register @register () def example_check ( app_configs , ** kwargs ): errors = [] # ... your check lo ... グループだけを実行することができるので便利です。例えば、互換性チェックを登録するには、以下のように呼び出します: from django.core.checks import register , Tags @register ( Tags . compatibility ) def my_check ( app_configs , ** kwargs ): # ... perform c ... 下であることを確認するチェックを追加できます。次のコードスニペットは、このチェックを実装する方法を示しています: from django.core import checks from django.db import models class RangedIntegerField ( models . IntegerField ): def __init__ ( self , min = ...
https://man.mtool.work/django/6.1/topics/checks.html
Django 6.0 release notes 7578
Django 6.0 release notes December 3, 2025 Welcome to Django 6.0! These release notes cover the new features , as well as some backwards incompatible changes you should be aware of when upgrading from Django 5.2 or earlier. We've begun the d ... r running them continues to belong to external worker processes. Tasks are defined using the task() decorator: from django.core.mail import send_mail from django.tasks import task @task def email_users ( emails , subject , message ): return send_mail ... ves have changed significantly, closely examine any custom subclasses that rely on overriding undocumented, internal underscore methods. DEFAULT_AUTO_FIELD setting now defaults to BigAutoField Since Django 3.2, when the DEFAULT_AUTO_FIELD setting was ... m implementations should be idempotent and free of side effects. Features deprecated in 6.0 Positional arguments in django.core.mail APIs django.core.mail APIs now require keyword arguments for less commonly used parameters. Using positional argument ...
https://man.mtool.work/django/6.1/releases/6.0.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT