per page, with , order by , clip by
Results of 1 - 10 of about 11 for assets (0.005 sec.)
Django 1.3 リリースノート 11789
Django 1.3 リリースノート March 23, 2011 Django 1.3 へようこそ! Nearly a year in the making, Django 1.3 includes quite a few new features and plenty of bug fixes and improvements to existing features. These release notes cover the new featu ... Script, etc.) that are needed to render a complete web page. In previous versions of Django, it was common to place static assets in MEDIA_ROOT along with user-uploaded files, and serve them both at MEDIA_URL . Part of the purpose of introducing the st ... aticfiles app is to make it easier to keep static files separate from user-uploaded files. Static assets should now go in static/ subdirectories of your apps or in other static assets directories listed in STATICFILES_DIRS , an ... ettings module) and there has been a shift in other parts of the framework to stop using it as a reference for location of assets at runtime. Detection of the locale subdirectory tends to fail when the deployment scenario is more complex than the basic ...
https://man.mtool.work/django/6.1/releases/1.3.html
Django 2.2 リリースノート 11789
Django 2.2 リリースノート April 1, 2019 Django 2.2 へようこそ! このリリースノートでは、 バージョン 2.2 の新機能 と、Django 2.1 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... odel , update user.has_perm('other_app.add_myproxymodel') to user.has_perm('app.add_myproxymodel') . Merging of form Media assets Form Media assets are now merged using a topological sort algorithm, as the old pairwise merging algorithm is insufficient ... For example, widgets depending on django.jQuery must specify js=['admin/js/jquery.init.js', ...] when declaring form media assets . その他 To improve readability, the UUIDField form field now displays values with dashes, e.g. 550e8400-e29b-41d4-a716-44 ...
https://man.mtool.work/django/6.1/releases/2.2.html
Django 6.1.1 release notes 10757
Django 6.1.1 release notes September 2, 2026 Django 6.1.1 fixes one crash in Django 5.2 and several bugs in 6.1. バグ修正 Fixed a crash in Django 5.2 when combining distinct(*fields) with order_by() and values() and using two lookup paths r ... 0 ). Fixed a regression in Django 6.1 where HTML-safe strings, such as those created with mark_safe() , used as form media assets were treated as asset paths rather than being rendered verbatim ( #37262 ). Fixed a regression in Django 6.1 that caused A ...
https://man.mtool.work/django/6.1/releases/6.1.1.html
How to use Django's Content Security Policy 9726
How to use Django's Content Security Policy Basic config Content Security Policy (CSP) を有効にするには、Django プロジェクトで次のように設定します: Add the CSP middleware to your MIDDLEWARE setting: MIDDLEWARE = [ # ... "django.middleware.c ... tr %} ></ script > < link rel = "stylesheet" href = "/path/to/style.css" {% csp_nonce_attr %} > To render a Media object's assets with the nonce applied to each element, pass the object to the csp_nonce_attr tag: {% csp_nonce_attr form.media %} Changed ...
https://man.mtool.work/django/6.1/howto/csp.html
フォームアセット (Media クラス) 8695
フォームアセット ( Media クラス) 魅力的で使いやすいウェブのフォームを作るには、HTML だけでは不十分です。CSS スタイルシートも必要です。さらに豪華なウィジェットを使いたければ、JavaScript を各ページに配置する必要もあるでしょう。あるページに必要 ... om/animations.27e20196a850.js"></script> <script src="https://othersite.com/actions.js"></script> オブジェクトとしてのパス Assets may also be object-based, using Script or Stylesheet . These allow you to pass custom HTML attributes: class Media : js = ... gin = "anonymous" media = "print" rel = "stylesheet" > Media objects class Media [ソース] Represents a collection of media assets required by a widget or form. ウィジェットやフォームの media 属性に応答指令信号を送ると、 forms.Media オブジェクトが戻り値 ...
https://man.mtool.work/django/6.1/topics/forms/media.html
GeoDjango フォーム API 8179
GeoDjango フォーム API GeoDjango はジオローカライズされたデータを地図上に視覚的に表示・編集するために、いくつかの特殊なフォームフィールドとウィジェットを提供します。デフォルトでは、 NASA が提供する WMS レイヤーをベースとした OpenLayers を利 ... で、フランス東部の位置です。 default_zoom デフォルトの地図の縮尺は 12 です。 The OpenLayersWidget note about using external assets also applies here. See also this FAQ answer about https access to map tiles. OpenStreetMap tiles with CSP This widget uses ...
https://man.mtool.work/django/6.1/ref/contrib/gis/forms-api.html
コンテンツセキュリティポリシー 8179
コンテンツセキュリティポリシー New in Django 6.0. Content Security Policy (CSP) is a web security standard that helps prevent content injection attacks by restricting the sources from which content can be loaded. It plays an important role ... tr %} ></ script > < link rel = "stylesheet" href = "/path/to/style.css" {% csp_nonce_attr %} > To render a Media object's assets with the nonce applied, pass the object to the csp_nonce_attr template tag: {% csp_nonce_attr form.media %} The browser wi ...
https://man.mtool.work/django/6.1/ref/csp.html
静的ファイル (画像、JavaScript、CSS など) を管理する 7663
静的ファイル (画像、JavaScript、CSS など) を管理する Websites generally need to serve additional files such as images, JavaScript, or CSS. In Django, we refer to these files as "static files". Django provides django.contrib.staticfiles to h ... ついては、 静的ファイルをデプロイする を読んでください。 プロジェクトには、特定のアプリケーションに紐付けられていない 静的な assets があることがあります。その場合には、アプリケーション内の static/ ディレクトリの他に、設定ファイルでディレクトリのリスト ( ...
https://man.mtool.work/django/6.1/howto/static-files/
組み込みテンプレートタグとフィルタ 7148
組み込みテンプレートタグとフィルタ このドキュメントでは、 Django の組み込みテンプレートタグとフィルタについて述べます。 また 自動ドキュメンテーション を使えばインストールされている組み込みタグとカスタムタグのドキュメントを読めるのでお勧めで ... tylesheet" href = "/path/to/style.css" {% csp_nonce_attr %} > When called with a Media object as the argument, renders its assets with the CSP nonce applied to each <script> and <link> element: {% csp_nonce_attr form.media %} In both forms, if the cont ... ext processor is not configured, assets are rendered without a nonce attribute. See Nonce usage for full configuration details. cycle タグを実行するごとに、引数の ...
https://man.mtool.work/django/6.1/ref/templates/builtins.html
Django 6.1 release notes 7148
Django 6.1 release notes August 5, 2026 Welcome to Django 6.1! These release notes cover the new features , as well as some backwards incompatible changes you'll want to be aware of when upgrading from Django 6.0 or earlier. We've begun the ... w csp_nonce_attr template tag renders the CSP nonce attribute on <script> and <link> elements, or renders a Media object's assets with the nonce applied, when the csp() context processor is configured. See Nonce usage for details. A new security.W027 s ...
https://man.mtool.work/django/6.1/releases/6.1.html
PREV 1 2 NEXT