検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 69 for Storage (0.022 sec.)
File storage API — Django 4.0.6 ドキュメント 12457
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ts | Index | Modules « previous | up | next » File storage API ¶ Getting the current storage class ¶ Django p ... rovides two convenient ways to access the current storage class: class DefaultStorage ¶ DefaultStorage provi ... des lazy access to the current default storage system as defined by DEFAULT_FILE_STORAGE . Defaul ... tStorage uses get_storage_class() internally. get_storage_c ...
https://man.plustar.jp/django/ref/files/storage.html - [similar]
ファイルの管理 — Django 4.0.6 ドキュメント 12372
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ファイルを保存するかの複雑なカスタムを許可する file storage systems を提供しています。このドキュメントの後半で ... ing the file's name to a path relative to the file storage's location ( MEDIA_ROOT if you are using the defau ... lt FileSystemStorage ): >>> import os >>> from django.conf import setti ... r: OSError : [ Errno 24 ] Too many open files File storage ¶ Behind the scenes, Django delegates decisions ab ...
https://man.plustar.jp/django/topics/files.html - [similar]
The staticfiles app — Django 4.0.6 ドキュメント 11524
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... TATIC_ROOT STATIC_URL STATICFILES_DIRS STATICFILES_STORAGE STATICFILES_FINDERS 管理コマンド ¶ django.contrib. ... calls the post_process() method of the STATICFILES_STORAGE after each run and passes a list of paths that hav ... ectstatic . This is used by the ManifestStaticFilesStorage by default. By default, collected files receive pe ... ories, you can subclass either of the static files storage classes and specify the file_permissions_mode and/ ...
https://man.plustar.jp/django/ref/contrib/staticfiles.html - [similar]
How to write a custom storage class — Django 4.0.6 ドキュメント 10661
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... les « previous | up | next » How to write a custom storage class ¶ たとえばリモートシステム上にファイルを保存 ... い。 カスタムストレージシステムは django.core.files.storage.Storage のサブクラスでなければなりません。: from d ... jango.core.files.storage import Storage class MyStorage ( Storage ): ... Dj ... django.conf import settings from django.core.files.storage import Storage class MyStorage ( Storage ): def __ ...
https://man.plustar.jp/django/howto/custom-file-storage.html - [similar]
How to deploy static files — Django 4.0.6 ドキュメント 10661
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... c file server and served. Depending on STATICFILES_STORAGE , files may need to be moved to a new location man ... ually or the post_process method of the Storage class might take care of that. As with all deploym ... ommon tactic is to serve static files from a cloud storage provider like Amazon's S3 and/or a CDN (content de ... the provider has an API, you can use a custom file storage backend to integrate the CDN with your Django proj ...
https://man.plustar.jp/django/howto/static-files/deployment.html - [similar]
メッセージフレームワーク — Django 4.0.6 ドキュメント 9106
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... eware.MessageMiddleware' を含みます。 デフォルトの storage backend は sessions に依存します。そのため Session ... ビルトインのストレージクラスを提供しています: class storage.session. SessionStorage ¶ このクラスは、すべてのメ ... .sessions アプリケーションが必要となります。 class storage.cookie. CookieStorage ¶ このクラスは、複数のリクエ ... as changed to the RFC 6265 compliant format. class storage.fallback. FallbackStorage ¶ このクラスは、まず Coo ...
https://man.plustar.jp/django/ref/contrib/messages.html - [similar]
django.contrib.messages.middleware — Django 4.0.6 ドキュメント 8526
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... .conf import settings from django.contrib.messages.storage import default_storage from django.utils.deprecati ... ( self , request ): request . _messages = default_storage ( request ) def process_response ( self , request ... , response ): """ Update the storage backend (i.e., save the messages). Raise ValueErro ... return a request which does not contain # messages storage, so make no assumption that it will be there. if h ...
https://man.plustar.jp/django/_modules/django/contrib/messages/middleware.html - [similar]
django.contrib.messages.api — Django 4.0.6 ドキュメント 8074
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ages import constants from django.contrib.messages.storage import default_storage __all__ = ( "add_message" , ... f get_messages ( request ): """ Return the message storage on the request if it exists, otherwise return an e ... If this is not found, use the ``INFO`` level. """ storage = getattr ( request , "_messages" , default_storag ... e ( request )) return storage . level def set_level ( request , level ): """ Set ...
https://man.plustar.jp/django/_modules/django/contrib/messages/api.html - [similar]
データベース — Django 4.0.6 ドキュメント 8045
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... t actually enforced by MySQL when using the MyISAM storage engine, see the next section. Storage engines ¶ My ... SQL has several storage engines . You can change the default storage engin ... e in the server configuration. MySQL's default storage engine is InnoDB . This engine is fully transactio ... Django generates the schema, it doesn't specify a storage engine, so tables will be created with whatever de ...
https://man.plustar.jp/django/ref/databases.html - [similar]
ファイルのハンドリング — Django 4.0.6 ドキュメント 8045
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ditional methods on files attached to objects File storage API Getting the current storage class The FileSyst ... emStorage class The Storage class アップロードファイルとアッ ... , up , オブジェクト , next , previous , トピック , storage クイック検索 Last update: 2022年6月01日 « previous ...
https://man.plustar.jp/django/ref/files/index.html - [similar]
PREV 1 2 3 4 5 6 7 NEXT