検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 65 for ROOT (0.008 sec.)
Built-in Views — Django 4.0.6 ドキュメント 13355
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... opment ¶ static. serve ( request , path , document_root , show_indexes = False ) ¶ There may be files othe ... t likely example is user-uploaded content in MEDIA_ROOT . django.contrib.staticfiles is intended for stati ... ed files, but you can have Django serve your MEDIA_ROOT by appending something like this to your URLconf: ... h ( r '^media/(?P<path>.*)$' , serve , { 'document_root' : settings . MEDIA_ROOT , }), ] Note, the snippet ...
https://man.plustar.jp/django/ref/views.html - [similar]
How to manage static files (e.g. images, JavaScript, CSS) — Django 4.0.6 ドキュ... 12825
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ... ] + static ( settings . STATIC_URL , document_root = settings . STATIC_ROOT ) 注釈 This helper functi ... atic.example.com/ ). またこのヘルパー関数は STATIC_ROOT のフォルダのみを利用します; django.contrib.staticf ... go.views.static.serve() ビューを利用している MEDIA_ROOT から利用できます。 この機能は本番環境で利用するのに ... an do this by adding the following snippet to your ROOT_URLCONF : from django.conf import settings from dj ...
https://man.plustar.jp/django/howto/static-files/index.html - [similar]
GeoDjango Installation — Django 4.0.6 ドキュメント 9919
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ther directory, such as /etc/ld.so.conf.d . As the root user, add the custom library path (like /usr/local ... nvironment variables to be recognized: set OSGEO4W_ROOT = C:\OSGeo4W64 set GDAL_DATA = %OSGEO4W_ROOT% \sha ... re\gdal set PROJ_LIB = %OSGEO4W_ROOT% \share\proj set PATH = %PATH% ; %OSGEO4W_ROOT% \b ... ll need to change the first command to set OSGEO4W_ROOT=C:\OSGeo4W . 注釈 Administrator privileges are req ...
https://man.plustar.jp/django/ref/contrib/gis/install/index.html - [similar]
デプロイチェックリスト — Django 4.0.6 ドキュメント 9518
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... デフォルトでは、Django は webmaster @ localhost と root @ localhost から E メールを送信します。しかし、いく ... IL と SERVER_EMAIL 設定を修正してください。 STATIC_ROOT と STATIC_URL ¶ 静的ファイルは、開発用サーバーでは ... は、 collectstatic が静的ファイルをコピーする STATIC_ROOT ディレクトリを設定する必要があります。 より詳しくは ... mages, JavaScript, CSS) を参照してください。 MEDIA_ROOT と MEDIA_URL ¶ メディアファイルは、あなたのユーザー ...
https://man.plustar.jp/django/howto/deployment/checklist.html - [similar]
設定 — Django 4.0.6 ドキュメント 9518
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... when BrokenLinkEmailsMiddleware is enabled. MEDIA_ROOT ¶ デフォルト値: '' (空文字列) Absolute filesystem ... xample.com/media/" See also MEDIA_URL . 警告 MEDIA_ROOT and STATIC_ROOT must have different values. Before ... STATIC_ROOT was introduced, it was common to rely or fallback ... on MEDIA_ROOT to also serve static files; however, since this ca ...
https://man.plustar.jp/django/ref/settings.html - [similar]
FAQ: Django を使う — Django 4.0.6 ドキュメント 9246
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... In your settings file, you'll need to define MEDIA_ROOT as the full path to a directory where you'd like D ... を追加し、 upload_to オプションを定義して、 MEDIA_ROOT のどのサブディレクトリにファイルをアップロードさせ ... 。 データベースに保存されるのは、ファイルの ( MEDIA_ROOT からの相対で表した) パスだけです。 URL を調べるには ... ベース , モデル , レイヤ , MEDIA , 言語 , SETTINGS , ROOT , 定義 , directory クイック検索 Last update: 2022年 ...
https://man.plustar.jp/django/faq/usage.html - [similar]
How to deploy static files — Django 4.0.6 ドキュメント 8860
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... for the collected static files directory ( STATIC_ROOT ) to be moved to the static file server and served ... ic を実行することで、すべての静的ファイルを STATIC_ROOT で設定したディレクトリに集める。 STATIC_ROOT に置か ... 側で collectstatic を実行する。 ローカル側の STATIC_ROOT を静的ファイルサーバのファイル配信ディレクトリにア ...
https://man.plustar.jp/django/howto/static-files/deployment.html - [similar]
The staticfiles app — Django 4.0.6 ドキュメント 8717
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ings for details on the following settings: STATIC_ROOT STATIC_URL STATICFILES_DIRS STATICFILES_STORAGE ST ... lectstatic ¶ Collects the static files into STATIC_ROOT . Duplicate file names are by default resolved in ... found. On subsequent collectstatic runs (if STATIC_ROOT isn't empty), files are copied only if they have a ... p greater than the timestamp of the file in STATIC_ROOT . Therefore if you remove an application from INST ...
https://man.plustar.jp/django/ref/contrib/staticfiles.html - [similar]
The syndication feed framework — Django 4.0.6 ドキュメント 8717
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... extend these callbacks. They are: SyndicationFeed.root_attributes(self) Return a dict of attributes to ad ... d to the root feed element ( feed / channel ). SyndicationFeed.a ... dd_root_elements(self, handler) Callback to add elements i ... nside the root feed element ( feed / channel ). handler is an XML ...
https://man.plustar.jp/django/ref/contrib/syndication.html - [similar]
ファイルの管理 — Django 4.0.6 ドキュメント 8588
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ault, Django stores files locally, using the MEDIA_ROOT and MEDIA_URL settings. The examples below assume ... th relative to the file storage's location ( MEDIA_ROOT if you are using the default FileSystemStorage ): ... cars/chevy_ii.jpg' >>> new_path = settings . MEDIA_ROOT + car . photo . name >>> # Move the file on the fi ... under /media/photos regardless of what your MEDIA_ROOT setting is: from django.core.files.storage import ...
https://man.plustar.jp/django/topics/files.html - [similar]
PREV 1 2 3 4 5 6 7 NEXT