per page, with , order by , clip by
Results of 1 - 10 of about 30 for suite (0.009 sec.)
Unit tests 15677
Unit tests Django comes with a test suite of its own, in the tests directory of the code base. It's our policy to make sure all tests pass at all times. We appreciate any and all contributions to the test suite! The Django tests all use the ... o source tree: /  $ python -m pip install tox $ tox ...\> py -m pip install tox ...\> tox By default, tox runs the test suite with the bundled test settings file for SQLite, black , blacken-docs , flake8 , isort , lint-docs , zizmor , and the docum ... nvironments, tox supports running unit tests for other versions of Python and other database backends. Since Django's test suite doesn't bundle a settings file for database backends other than SQLite, however, you must create and provide your own test ... postgres -- --settings=my_postgres_settings This command sets up a Python 3.12 virtual environment, installs Django's test suite dependencies (including those for PostgreSQL), and calls runtests.py with the supplied arguments (in this case, --settings ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/unit-tests...
Django 1.2.4 リリースノート 11323
Django 1.2.4 リリースノート Django 1.2.4 へようこそ! This is the fourth "bugfix" release in the Django 1.2 series, improving the stability and performance of the Django 1.2 codebase. With one exception, Django 1.2.4 maintains backwards comp ... an exception to this rule. One of the bugs fixed in Django 1.2.4 involves a set of circumstances whereby a running a test suite on a multiple database configuration could cause the original source database (i.e., the actual production database) to be ... rder of test databases for details. GeoDjango The function-based TEST_RUNNER previously used to execute the GeoDjango test suite, django.contrib.gis.tests.run_gis_tests , was finally deprecated in favor of a class-based test runner, django.contrib.gis ... .tests.GeoDjangoTestSuiteRunner , added in this release. In addition, the GeoDjango test suite is now included when running the Django test suite wi ...
https://man.mtool.work/django/6.1/releases/1.2.4.html
テストに関する高度なトピック 9276
テストに関する高度なトピック RequestFactory(リクエスト ファクトリ) class RequestFactory [ソース] RequestFactory はテストクライアントと同じ API を共有しています。しかし、ブラウザのように動作するのではなく、 RequestFactory は任意のビューの最 ... 設定を何に設定するべきかを指定します。 parallel specifies the number of processes. If parallel is greater than 1 , the test suite will run in parallel processes. If there are fewer test case classes than configured processes, Django will reduce the num ... び出すときにカスタム引数を追加することで、 test コマンドがそれらの引数を使用できるようになります。 属性 DiscoverRunner. test_suite テストスイートのビルドに使用するクラス。デフォルトでは unittest.TestSuite に設定されています。テストを収集するために別のロ ... るもので、いくつかのフォーマットをサポートしています (サポートされているフォーマットのリストについては DiscoverRunner.build_suite() を参照してください)。 このメソッドは、失敗したテストの数を返す必要があります。 classmethod DiscoverRunner. add_arguments ...
https://man.mtool.work/django/6.1/topics/testing/advanced.html
Submitting contributions 8431
Submitting contributions We're always grateful for contributions to Django's code. Indeed, bug reports with associated contributions will get fixed far more quickly than those without a solution. Typo fixes and trivial documentation changes ... Ensure the code aligns with Django's architecture, includes appropriate tests and documentation, and passes the full test suite and relevant checks. Double-check the proposal against the Contribution checklist . We align with similar policies adopted ... ated feature is invoked. Assuming we have good test coverage, these warnings are converted to errors when running the test suite with warnings enabled: python -Wa runtests.py . Thus, when adding a RemovedInDjangoXXXXWarning you need to eliminate or si ... nge is backwards incompatible in any way, is there a note in the release notes ( docs/releases/A.B.txt )? Is Django's test suite passing? If there is a code coverage report comment on the pull request, have you reviewed the missing coverage in context ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/submitting...
Django 1.3 リリースノート 8431
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 ... r further centralizing the permission handling. See the authentication docs for more details. GeoDjango The GeoDjango test suite is now included when running the Django test suite with runtests.py when using spatial database backends . MEDIA_URL and S ... our database is synchronized. This includes the synchronization of any test databases that are created when you run a test suite. However, in the process of testing the Django 1.3, it was discovered that this feature has never completely worked as adv ... or DROP TABLE statements manually. GeoDjango The function-based TEST_RUNNER previously used to execute the GeoDjango test suite, django.contrib.gis.tests.run_gis_tests , was deprecated for the class-based runner, django.contrib.gis.tests.GeoDjangoTes ...
https://man.mtool.work/django/6.1/releases/1.3.html
Django 1.8.16 リリースノート 8301
Django 1.8.16 リリースノート November 1, 2016 Django 1.8.16 fixes two security issues in 1.8.15. User with hardcoded password created when running tests on Oracle When running tests with an Oracle database, Django creates a temporary databa ... could allow an attacker with network access to the database server to connect. This user is usually dropped after the test suite completes, but not when using the manage.py test --keepdb option or if the user has an active session (such as an attacker ...
https://man.mtool.work/django/6.1/releases/1.8.16.html
Django 1.9.11 リリースノート 8301
Django 1.9.11 リリースノート November 1, 2016 Django 1.9.11 では、1.9.10 にあった2つのセキュリティの問題を修正しました。 User with hardcoded password created when running tests on Oracle When running tests with an Oracle database, Django cr ... could allow an attacker with network access to the database server to connect. This user is usually dropped after the test suite completes, but not when using the manage.py test --keepdb option or if the user has an active session (such as an attacker ...
https://man.mtool.work/django/6.1/releases/1.9.11.html
Django 1.0.2 リリースノート 8188
Django 1.0.2 リリースノート Django 1.0.2 へようこそ! This is the second "bugfix" release in the Django 1.0 series, improving the stability and performance of the Django 1.0 codebase. As such, Django 1.0.2 contains no new features (and, purs ... ries from the final release package, including one directory required by django.contrib.gis and part of Django's unit-test suite. Django 1.0.2 ではパッケージングスクリプトが更新され、リリースパッケージには Django 1.0.1 から省略されたディレクトリが含ま ...
https://man.mtool.work/django/6.1/releases/1.0.2.html
Django 4.0 リリースノート 8188
Django 4.0 リリースノート 2021年12月7日 Django 4.0 へようこそ! このリリースノートでは、 バージョン 4.0 の新機能 と、Django 3.2 以前からアップグレードする際に注意すべき、 後方互換性のない変更 について説明します。また、 一部の機能を非推奨 とし ... perations on a sliced queryset now raise TypeError instead of AssertionError . The undocumented django.test.runner.reorder_suite() function is renamed to reorder_tests() . It now accepts an iterable of tests rather than a test suite, and returns an it ... e context of a request will change from 'http' to 'https' in Django 5.0. The extra_tests argument for DiscoverRunner.build_suite() and DiscoverRunner.run_tests() is deprecated. The ArrayAgg , JSONBAgg , and StringAgg aggregates will return None when t ...
https://man.mtool.work/django/6.1/releases/4.0.html
Django 1.10.3 リリースノート 8074
Django 1.10.3 リリースノート November 1, 2016 Django 1.10.3 fixes two security issues and several bugs in 1.10.2. User with hardcoded password created when running tests on Oracle When running tests with an Oracle database, Django creates a ... could allow an attacker with network access to the database server to connect. This user is usually dropped after the test suite completes, but not when using the manage.py test --keepdb option or if the user has an active session (such as an attacker ...
https://man.mtool.work/django/6.1/releases/1.10.3.html
PREV 1 2 3 NEXT