per page, with , order by , clip by
Results of 1 - 10 of about 70 for Link (0.002 sec.)
配信 (syndication) フィード フレームワーク 14972
配信 (syndication) フィード フレームワーク Django には、 RSS と Atom フィードを作成するための高レベルな配信 (syndication) フィード生成フレームワークが付属しています。 任意の配信フィードを作成するには、短い Python クラスを書くだけで済みます。 ... ls import reverse from policebeat.models import NewsItem class LatestEntriesFeed ( Feed ): title = "Police beat site news" link = "/sitenews/" description = "Updates on changes and additions to police beat central." def items ( self ): return NewsIte ... def item_title ( self , item ): return item . title def item_description ( self , item ): return item . description # item_link is only needed if NewsItem has no get_absolute_url method. def item_link ( self , item ): return reverse ( "news-item" , a ... ed/" , LatestEntriesFeed ()), # ... ] 備考: Feedクラスは django.contrib.syndication.views.Feed のサブクラスです。 title 、 link 、および description は、それぞれ標準RSSの <title> , <link> , <description> 要素に対応します。 items() は、フィードに含める ...
https://man.mtool.work/django/6.1/ref/contrib/syndication.html
フォームアセット (Media クラス) 11926
フォームアセット ( Media クラス) 魅力的で使いやすいウェブのフォームを作るには、HTML だけでは不十分です。CSS スタイルシートも必要です。さらに豪華なウィジェットを使いたければ、JavaScript を各ページに配置する必要もあるでしょう。あるページに必要 ... rWidget インスタンスのアセットリストは、このプロパティから取得できます: >>> w = CalendarWidget () >>> print ( w . media ) <link href="https://static.example.com/pretty.css" media="all" rel="stylesheet"> <script src="https://static.example.com/animati ... ector" : [ "lo_res.css" ], "print" : [ "newspaper.css" ], } 上記のCSS定義をレンダリングすると、次のようなHTMLになります: < link href = "https://static.example.com/pretty.css" media = "screen" rel = "stylesheet" > < link href = "https://static.example ... .com/lo_res.css" media = "tv,projector" rel = "stylesheet" > < link href = "https://static.example.com/newspaper.css" media = "print" rel = "stylesheet" > Stylesheet objects New in Django 6. ...
https://man.mtool.work/django/6.1/topics/forms/media.html
測定オブジェクト 10531
測定オブジェクト django.contrib.gis.measure モジュールには、距離や面積の単位を便利に表現するためのオブジェクトが含まれています。 [ 1 ] 具体的には、 Distance と Area の 2 つのオブジェクトを実装しており、それぞれ D と A の便利なエイリアスを介 ... ish chain (Benoit 1895 B) british_chain_sears_truncated British chain (Sears 1922 truncated) gold_coast_ft Gold Coast foot link Link link_benoit Link (Benoit) link_sears Link (Sears) clarke_link Clarke's link fathom Fathom rod Rod furlong Furlong, Fu ...
https://man.mtool.work/django/6.1/ref/contrib/gis/measure.html
Django 1.11.21 リリースノート 10009
Django 1.11.21 リリースノート June 3, 2019 Django 1.11.21 fixes a security issue in 1.11.20. CVE-2019-12308: AdminURLFieldWidget XSS The clickable "Current URL" link generated by AdminURLFieldWidget displayed the provided value without vali ... alue stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link. AdminURLFieldWidget now validates the provided value using URLValidator before displaying the clickable link. You may cus ...
https://man.mtool.work/django/6.1/releases/1.11.21.html
Django 2.1.9 リリースノート 9487
Django 2.1.9 リリースノート June 3, 2019 Django 2.1.9 fixes security issues in 2.1.8. CVE-2019-12308: AdminURLFieldWidget XSS The clickable "Current URL" link generated by AdminURLFieldWidget displayed the provided value without validating ... alue stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link. AdminURLFieldWidget now validates the provided value using URLValidator before displaying the clickable link. You may cus ...
https://man.mtool.work/django/6.1/releases/2.1.9.html
Django 2.2.2 リリースノート 8797
Django 2.2.2 リリースノート June 3, 2019 Django 2.2.2 fixes security issues and several bugs in 2.2.1. CVE-2019-12308: AdminURLFieldWidget XSS The clickable "Current URL" link generated by AdminURLFieldWidget displayed the provided value wi ... alue stored in the database, or a value provided as a URL query parameter payload, could result in an clickable JavaScript link. AdminURLFieldWidget now validates the provided value using URLValidator before displaying the clickable link. You may cus ...
https://man.mtool.work/django/6.1/releases/2.2.2.html
Django 5.2.17 release notes 8190
Django 5.2.17 release notes August 4, 2026 Django 5.2.17 fixes one security issue with severity "high", two security issues with severity "moderate", and one security issue with severity "low" in 5.2.16. CVE-2026-15307: Server-side file-wri ... 2026-15920: Potential cross-site scripting via URLField values in the admin The admin renders URLField values as clickable links on changelist views and read-only fields. The link was generated without validating the value as a safe URL, so a stored ... value using a potentially dangerous scheme was rendered as a link. URLField values shown via display_for_field are now validated using URLValidator before a link is rendered, and displayed ...
https://man.mtool.work/django/6.1/releases/5.2.17.html
Django 6.0.8 release notes 8092
Django 6.0.8 release notes August 4, 2026 Django 6.0.8 fixes one security issue with severity "high", two security issues with severity "moderate", one security issue with severity "low", and several bugs in 6.0.7. CVE-2026-15307: Server-si ... 2026-15920: Potential cross-site scripting via URLField values in the admin The admin renders URLField values as clickable links on changelist views and read-only fields. The link was generated without validating the value as a safe URL, so a stored ... value using a potentially dangerous scheme was rendered as a link. URLField values shown via display_for_field are now validated using URLValidator before a link is rendered, and displayed ...
https://man.mtool.work/django/6.1/releases/6.0.8.html
Django 1.5.2 リリースノート 7570
Django 1.5.2 リリースノート August 13, 2013 This is Django 1.5.2, a bugfix and security release for Django 1.5. Mitigated possible XSS attack via user-supplied redirect URLs Django relies on user input in some cases (e.g. django.contrib.aut ... :... URLs to be entered. If a developer relied on is_safe_url() to provide safe redirect targets and put such a URL into a link, they could suffer from a XSS attack. This bug doesn't affect Django currently, since we only put this URL into the Locati ... ulnerability in django.contrib.admin If a URLField is used in Django 1.5, it displays the current value of the field and a link to the target on the admin change page. The display routine of this widget was flawed and allowed for XSS. バグ修正 Fixed ...
https://man.mtool.work/django/6.1/releases/1.5.2.html
How to use Django's Content Security Policy 7401
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 ... nonce = " {{ csp_nonce }} " > // This inline JavaScript will be allowed. </ script > For external <script src="..."> and <link rel="stylesheet"> elements, use the csp_nonce_attr template tag: < script src = "/path/to/script.js" {% csp_nonce_attr %} ... ></ script > < link rel = "stylesheet" href = "/path/to/style.css" {% csp_nonce_attr %} > To render a Media object's assets with the nonce app ...
https://man.mtool.work/django/6.1/howto/csp.html
PREV 1 2 3 4 5 6 7 NEXT