per page, with , order by , clip by
Results of 1 - 10 of about 94 for domain (0.003 sec.)
"sites" フレームワーク — Django 6.1 ドキュメント 13819
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » "sites" フレームワーク ¶ Django にはオプションで "sites" フレームワークが付属しています。これは、オブジェクトや機能を特定の Web サイトに関連付けるた ... する必要がある場合に使用します。 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
"sites" フレームワーク — Django 6.1 ドキュメント 13819
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » "sites" フレームワーク ¶ Django にはオプションで "sites" フレームワークが付属しています。これは、オブジェクトや機能を特定の Web サイトに関連付けるた ... する必要がある場合に使用します。 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.6 リリースノート — Django 6.1 ドキュメント 9239
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 ... eader 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 ... 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 ... 5 リリースノート 関連キーワード Host header host security issues available setting history view admin previous series user domain documentation users servers ensure valid application still contain list request matching クイック検索 Last update: 2026年1 ...
https://man.mtool.work/django/6.1/releases/1.3.6.html
Django 1.3.6 リリースノート — Django 6.1 ドキュメント 9067
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 ... eader 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 ... 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 ... ワード Django Host header host security issues available setting but Python via history view admin previous series user use domain documentation 関連するページ Django 1.4.4 リリースノート Django 1.4.2 リリースノート Django 1.3.4 リリースノート Django 1. ...
https://man.mtool.work/django/6.1/releases/1.3.6.html
Django 1.4.4 リリースノート — Django 6.1 ドキュメント 9067
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 we ... eader 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 ... mentation header host security issues available setting request history view admin fixes previous series improvements user domain users servers ensure valid application still list クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/1.4.4.html
Django 1.3.4 リリースノート — Django 6.1 ドキュメント 8579
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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, which are generated from the HTTP Host header. Some attacks against this are beyond Django's ability to control, and ... name validsite リリースノート October fourth release series poisoning independent user written applications make including domain attacks クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/1.3.4.html
Django 1.3 リリースノート — Django 6.1 ドキュメント 8090
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 plen ... 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 リリースノート — Django 6.1 ドキュメント 8090
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 plen ... 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
バリデータ (Validator) — Django 6.1 ドキュメント 7602
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » バリデータ (Validator) ¶ バリデータを記述する ¶ バリデータ (validator) は呼び出し可能なオブジェクトで、値を受け取り、ある基準を満たしていない場合に ... 使用されるエラーコードです。デフォルトは "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.4.4 リリースノート — Django 6.1 ドキュメント 7602
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 we ... eader 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
PREV 1 2 3 4 5 6 7 8 9 10 NEXT