per page, with , order by , clip by
Results of 1 - 10 of about 112 for override (0.008 sec.)
コンテンツセキュリティポリシー — Django 6.1 ドキュメント 12755
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » コンテンツセキュリティポリシー ¶ New in Django 6.0. Content Security Policy (CSP) is a web security standard that helps prevent content injection at ... only policy for specific views, providing fine-grained control when the global settings are not sufficient. Applying these overrides fully replaces the base CSP: they do not merge with existing rules. They can be used alongside the constants defined in C ... of the "same origin" policy, an attacker could exploit a vulnerability on one page to access other parts of the site. csp_override ( config)(view ) [ソース] ¶ Overrides the Content-Security-Policy header for the decorated view using directives in the sa ... iew. 例: from django.http import HttpResponse from django.utils.csp import CSP from django.views.decorators.csp import csp_override @csp_override ( { "default-src" : [ CSP . SELF ], "img-src" : [ CSP . SELF , "data:" ], } ) def my_view ( request ): retur ...
https://man.mtool.work/django/6.1/ref/csp.html
コンテンツセキュリティポリシー — Django 6.1 ドキュメント 12603
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » コンテンツセキュリティポリシー ¶ New in Django 6.0. Content Security Policy (CSP) is a web security standard that helps prevent content injection at ... only policy for specific views, providing fine-grained control when the global settings are not sufficient. Applying these overrides fully replaces the base CSP: they do not merge with existing rules. They can be used alongside the constants defined in C ... of the "same origin" policy, an attacker could exploit a vulnerability on one page to access other parts of the site. csp_override ( config)(view ) [ソース] ¶ Overrides the Content-Security-Policy header for the decorated view using directives in the sa ... iew. 例: from django.http import HttpResponse from django.utils.csp import CSP from django.views.decorators.csp import csp_override @csp_override ( { "default-src" : [ CSP . SELF ], "img-src" : [ CSP . SELF , "data:" ], } ) def my_view ( request ): retur ...
https://man.mtool.work/django/6.1/ref/csp.html
Django 1.8 リリースノート — Django 6.1 ドキュメント 10277
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.8 リリースノート ¶ April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレー ... its list of classes to distinguish them from field-specific errors. Field now accepts a label_suffix argument, which will override the form's label_suffix . This enables customizing the suffix on a per-field basis — previously it wasn't possible to over ... ile using shortcuts such as {{ form.as_p }} in templates. SelectDateWidget now accepts an empty_label argument, which will override the top list choice label when DateField is not required. After an ImageField has been cleaned and validated, the Uploaded ... zation of test tablespace parameters for Oracle: DATAFILE , DATAFILE_TMP , DATAFILE_MAXSIZE and DATAFILE_TMP_MAXSIZE . The override_settings() decorator can now affect the master router in DATABASE_ROUTERS . Added test client support for file uploads wit ...
https://man.mtool.work/django/6.1/releases/1.8.html
Django 1.8 リリースノート — Django 6.1 ドキュメント 10277
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.8 リリースノート ¶ April 1, 2015 Django 1.8 へようこそ! このリリースノートでは、 バージョン 1.8 の新機能 と、Django 1.7 以前からアップグレー ... its list of classes to distinguish them from field-specific errors. Field now accepts a label_suffix argument, which will override the form's label_suffix . This enables customizing the suffix on a per-field basis — previously it wasn't possible to over ... ile using shortcuts such as {{ form.as_p }} in templates. SelectDateWidget now accepts an empty_label argument, which will override the top list choice label when DateField is not required. After an ImageField has been cleaned and validated, the Uploaded ... zation of test tablespace parameters for Oracle: DATAFILE , DATAFILE_TMP , DATAFILE_MAXSIZE and DATAFILE_TMP_MAXSIZE . The override_settings() decorator can now affect the master router in DATABASE_ROUTERS . Added test client support for file uploads wit ...
https://man.mtool.work/django/6.1/releases/1.8.html
テストツール — Django 6.1 ドキュメント 8975
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストツール ¶ Django は、テストを書くのに便利なツールをいくつか提供しています。 There are community-maintained solutions! Django has a vibrant ecos ... はどうやって言語の優先順位を検出するのか? にあります。 ミドルウェアが有効化されていない場合、アクティブな言語は translation.override() を使って設定できます。 from django.utils import translation def test_language_using_override ( self ): with translation ... . override ( "fr" ): response = self . client . get ( "/" ) self . assertEqual ( response . content , b "Bienvenue sur mon site." ) さ ... URL で利用可能であるという事実に頼ることができないということです。URLconf の設定のためには、テストクラスまたはメソッドを @override_settings(ROOT_URLCONF=...) を使用してデコレーションしてください。 マルチデータベースのサポート ¶ TransactionTestCase. data ...
https://man.mtool.work/django/6.1/topics/testing/tools.html
テストツール — Django 6.1 ドキュメント 8975
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » テストツール ¶ Django は、テストを書くのに便利なツールをいくつか提供しています。 There are community-maintained solutions! Django has a vibrant ecos ... はどうやって言語の優先順位を検出するのか? にあります。 ミドルウェアが有効化されていない場合、アクティブな言語は translation.override() を使って設定できます。 from django.utils import translation def test_language_using_override ( self ): with translation ... . override ( "fr" ): response = self . client . get ( "/" ) self . assertEqual ( response . content , b "Bienvenue sur mon site." ) さ ... URL で利用可能であるという事実に頼ることができないということです。URLconf の設定のためには、テストクラスまたはメソッドを @override_settings(ROOT_URLCONF=...) を使用してデコレーションしてください。 マルチデータベースのサポート ¶ TransactionTestCase. data ...
https://man.mtool.work/django/6.1/topics/testing/tools.html
Django 1.7 リリースノート — Django 6.1 ドキュメント 8545
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.7 リリースノート ¶ September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグ ... changes the method signature of __init__ in any way. If your field just inherits from a built-in Django field and doesn't override __init__ , no changes are necessary. If you do need to override deconstruct() , a good place to start is the built-in Djan ... go fields ( django/db/models/fields/__init__.py ) as several fields, including DecimalField and DateField , override it and show how to call the method on the superclass and simply add or remove extra arguments. This also means that all ar ... attributes on a custom AdminSite in order to easily change the admin site's page title and header text. No more needing to override templates! Buttons in django.contrib.admin now use the border-radius CSS property for rounded corners rather than GIF back ...
https://man.mtool.work/django/6.1/releases/1.7.html
Django 1.7 リリースノート — Django 6.1 ドキュメント 8545
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.7 リリースノート ¶ September 2, 2014 Django 1.7 へようこそ! このリリースノートでは、 バージョン 1.7 の新機能 と、Django 1.6 以前からアップグ ... changes the method signature of __init__ in any way. If your field just inherits from a built-in Django field and doesn't override __init__ , no changes are necessary. If you do need to override deconstruct() , a good place to start is the built-in Djan ... go fields ( django/db/models/fields/__init__.py ) as several fields, including DecimalField and DateField , override it and show how to call the method on the superclass and simply add or remove extra arguments. This also means that all ar ... attributes on a custom AdminSite in order to easily change the admin site's page title and header text. No more needing to override templates! Buttons in django.contrib.admin now use the border-radius CSS property for rounded corners rather than GIF back ...
https://man.mtool.work/django/6.1/releases/1.7.html
システムチェックフレームワーク — Django 6.1 ドキュメント 7673
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » システムチェックフレームワーク ¶ システムチェックフレームワークは、Django プロジェクトを検証するための静的チェックのセットです。一般的な問題を検出し ... ommand from django.core.management.base import SystemCheckError from django.test import SimpleTestCase , modify_settings , override_settings class SystemCheckIntegrationTest ( SimpleTestCase ): @override_settings ( SITE_ID = "non_integer" ) @modify_setti ... トできます: from io import StringIO from django.core.management import call_command from django.test import SimpleTestCase , override_settings class EnableAnalyticsDeploymentCheckTest ( SimpleTestCase ): @override_settings ( ENABLE_ANALYTICS = None ) def t ...
https://man.mtool.work/django/6.1/topics/checks.html
システムチェックフレームワーク — Django 6.1 ドキュメント 7673
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » システムチェックフレームワーク ¶ システムチェックフレームワークは、Django プロジェクトを検証するための静的チェックのセットです。一般的な問題を検出し ... ommand from django.core.management.base import SystemCheckError from django.test import SimpleTestCase , modify_settings , override_settings class SystemCheckIntegrationTest ( SimpleTestCase ): @override_settings ( SITE_ID = "non_integer" ) @modify_setti ... トできます: from io import StringIO from django.core.management import call_command from django.test import SimpleTestCase , override_settings class EnableAnalyticsDeploymentCheckTest ( SimpleTestCase ): @override_settings ( ENABLE_ANALYTICS = None ) def t ...
https://man.mtool.work/django/6.1/topics/checks.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT