per page, with , order by , clip by
Results of 1 - 10 of about 47 for domain (0.002 sec.)
"sites" フレームワーク 16082
"sites" フレームワーク Django にはオプションで "sites" フレームワークが付属しています。これは、オブジェクトや機能を特定の Web サイトに関連付けるためのフックで、 Django で動くサイトのドメイン名や "冗長な" 名前を保持する場所です。 1 つの Djan ... 別する必要がある場合に使用します。 sites フレームワークは、主にこのモデルに基づいています: class models. Site ウェブサイトの domain と name 属性を格納するモデル。 domain ウェブサイトに関連付けられた完全修飾ドメイン名。たとえば、 www.example.com 。 name 人 ... に関連付けられている Site オブジェクトのデータベース ID を指定します。この設定が省略された場合、 get_current_site() 関数は、 domain と request.get_host() メソッドからのホスト名を比較することで、現在のサイトを取得しようとします。 これをどのように使用するか ... he site IDs like that, in case they change. The cleaner way of accomplishing the same thing is to check the current site's domain: from django.contrib.sites.shortcuts import get_current_site def my_view ( request ): current_site = get_current_site ( re ...
https://man.mtool.work/django/6.1/ref/contrib/sites.html
Django 1.3 リリースノート 9576
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 ... L must end in a slash Previously, the MEDIA_URL setting only required a trailing slash if it contained a suffix beyond the domain name. A trailing slash is now required for MEDIA_URL and the new STATIC_URL setting as long as it is not blank. This ensur ... ilt-in filter to fix this problem would require significant effort, and since natural language processing isn't the normal domain of a web framework, we have "fixed" the problem by making the list of prohibited words an empty list. If you want to resto ... ferent translations found on disk, namely: For translatable literals found in Python code and templates ( 'django' gettext domain): Priorities of translations included with applications listed in the INSTALLED_APPS setting were changed. To provide a be ...
https://man.mtool.work/django/6.1/releases/1.3.html
Django 1.3.6 リリースノート 9378
Django 1.3.6 リリースノート February 19, 2013 Django 1.3.6 fixes four security issues present in previous Django releases in the 1.3 series. This is the sixth bugfix/security release in the Django 1.3 series. Host header poisoning Some part ... s of Django -- independent of end-user-written applications -- make use of full URLs, including domain name, which are generated from the HTTP Host header. Django's documentation has for some time contained notes advising use ... der. For this reason, Django 1.3.6 adds a new setting, ALLOWED_HOSTS , which should contain an explicit list of valid host/domain names for this site. A request with a Host header not matching an entry in this list will raise SuspiciousOperation if req ...
https://man.mtool.work/django/6.1/releases/1.3.6.html
Django 1.4.4 リリースノート 9378
Django 1.4.4 リリースノート February 19, 2013 Django 1.4.4 fixes four security issues present in previous Django releases in the 1.4 series, as well as several other bugs and numerous documentation improvements. This is the fourth bugfix/se ... header poisoning Some parts of Django -- independent of end-user-written applications -- make use of full URLs, including domain name, which are generated from the HTTP Host header. Django's documentation has for some time contained notes advising use ... s Host header. For this reason, Django 1.4.4 adds a new setting, ALLOWED_HOSTS , containing an explicit list of valid host/domain names for this site. A request with a Host header not matching an entry in this list will raise SuspiciousOperation if req ...
https://man.mtool.work/django/6.1/releases/1.4.4.html
Django 3.1.5 リリースノート 8573
Django 3.1.5 リリースノート January 4, 2021 Django 3.1.5 では、3.1.4 におけるいくつかのバグを修正しました。 バグ修正 Fixed __isnull=True lookup on key transforms for JSONField with Oracle and SQLite ( #32252 ). Fixed a bug in Django 3.1 tha ... server-provided value of SCRIPT_NAME (or / if not set), when set to a URL specifying the protocol but without a top-level domain, e.g. http://myhost/ ( #32304 ). ...
https://man.mtool.work/django/6.1/releases/3.1.5.html
Django 1.8.18 リリースノート 8360
Django 1.8.18 リリースノート April 4, 2017 Django 1.8.18 fixes two security issues in 1.8.17. CVE-2017-7233: Open redirect and possible XSS attack via user-supplied numeric redirect URLs Django relies on user input in some cases (e.g. djang ... django.views.static.serve() A maliciously crafted URL to a Django site using the serve() view could redirect to any other domain. The view no longer does any redirects as they don't provide any known, useful functionality. Note, however, that this vie ...
https://man.mtool.work/django/6.1/releases/1.8.18.html
クロスサイトリクエストフォージェリ (CSRF) 対策 8162
クロスサイトリクエストフォージェリ (CSRF) 対策 CSRF ミドルウェアとテンプレートタグは、簡単に扱える Cross Site Request Forgeries 対策を提供しています。このタイプの攻撃は、訪問者のログイン情報を悪用してあなたのサイトに何らかの操作を行うことを ... ダーの存在が HTTP 下では十分に信頼できないため、HTTP リクエストに対してはリファラチェックは行われません。) もし CSRF_COOKIE_DOMAIN 設定が設定されていれば、リファラはその設定と比較されます。先頭のドットを指定することで、クロスサブドメインリクエストを許可 ... できます。たとえば、 CSRF_COOKIE_DOMAIN = '.example.com' は www.example.com と api.example.com からの POST リクエストを許可します。この設定が設定されていない場合、 ... CSRF クッキーを送信させます。 設定 Django の CSRF 動作を制御するための、多くの設定があります: CSRF_COOKIE_AGE CSRF_COOKIE_DOMAIN CSRF_COOKIE_HTTPONLY CSRF_COOKIE_NAME CSRF_COOKIE_PATH CSRF_COOKIE_SAMESITE CSRF_COOKIE_SECURE CSRF_FAILURE_VIEW CSRF_HEAD ...
https://man.mtool.work/django/6.1/ref/csrf.html
バリデータ (Validator) 8162
バリデータ (Validator) バリデータを記述する バリデータ (validator) は呼び出し可能なオブジェクトで、値を受け取り、ある基準を満たしていない場合に ValidationError を発生させます。バリデータは異なるタイプのフィールド間でバリデーションロジックを ... で使用されるエラーコードです。デフォルトは "invalid" です。 allowlist メールドメインの許可リスト。デフォルトでは、正規表現( domain_regex 属性)を使って @ 記号の後に現れる文字列を検証します。しかし、その文字列が allowlist に含まれている場合、この検証はバイ ... st'] です。ドットを含まない他のドメインはバリデーションを通過しないので、必要に応じて allowlist に追加する必要があります。 DomainNameValidator class DomainNameValidator ( accept_idna = True , message = None , code = None ) [ソース] RegexValidator のサブ ... す。IPアドレスは有効なドメイン名としては受け付けられません。 親クラスである RegexValidator クラスのオプション引数に加えて、 DomainNameValidator は以下の追加のオプション属性を受け付けます。 accept_idna 国際化ドメイン名、つまり非ASCII文字を含むドメイン名を ...
https://man.mtool.work/django/6.1/ref/validators.html
Django 1.10.7 リリースノート 8162
Django 1.10.7 リリースノート April 4, 2017 Django 1.10.7 fixes two security issues and a bug in 1.10.6. CVE-2017-7233: Open redirect and possible XSS attack via user-supplied numeric redirect URLs Django relies on user input in some cases ( ... django.views.static.serve() A maliciously crafted URL to a Django site using the serve() view could redirect to any other domain. The view no longer does any redirects as they don't provide any known, useful functionality. Note, however, that this vie ...
https://man.mtool.work/django/6.1/releases/1.10.7.html
Django 1.3.4 リリースノート 8162
Django 1.3.4 リリースノート October 17, 2012 This is the fourth release in the Django 1.3 series. Host header poisoning Some parts of Django -- independent of end-user-written applications -- make use of full URLs, including domain name, wh ...
https://man.mtool.work/django/6.1/releases/1.3.4.html
PREV 1 2 3 4 5 NEXT