per page, with , order by , clip by
Results of 1 - 10 of about 40 for runs (0.003 sec.)
Unit tests — Django 6.1 ドキュメント 12154
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 ... e in the Django 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 ... ajority of patches. To run the JavaScript tests using tox : /  $ tox -e javascript ...\> tox -e javascript This command runs npm install to ensure test requirements are up to date and then runs npm test . Running tests using django-docker-box ¶ dj ... ibraries . Each of these dependencies is optional. If you're missing any of them, the associated tests will be skipped. To run some of the autoreload tests, you'll need to install the Watchman service. Code coverage ¶ Contributors are encouraged to r ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/unit-tests...
Unit tests — Django 6.1 ドキュメント 12154
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 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 ... e in the Django 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 ... ajority of patches. To run the JavaScript tests using tox : /  $ tox -e javascript ...\> tox -e javascript This command runs npm install to ensure test requirements are up to date and then runs npm test . Running tests using django-docker-box ¶ dj ... ibraries . Each of these dependencies is optional. If you're missing any of them, the associated tests will be skipped. To run some of the autoreload tests, you'll need to install the Watchman service. Code coverage ¶ Contributors are encouraged to r ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/unit-tests...
How to use Django with Granian — Django 6.1 ドキュメント 11920
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » How to use Django with Granian ¶ Granian is a Rust-based high-performance HTTP server for Python applications, supporting ASGI and WSGI interfaces. ... python -m pip install granian Running Django in Granian ¶ When Granian is installed, a granian command is available which runs ASGI applications. Granian needs to be called with the location of a module containing an ASGI application object, followe ... d interface project How to Rust based high performance server supporting interfaces Installing Running installed available runs needs location クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/howto/deployment/asgi/granian.html
How to use Django with Granian — Django 6.1 ドキュメント 11920
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » How to use Django with Granian ¶ Granian is a Rust-based high-performance HTTP server for Python applications, supporting ASGI and WSGI interfaces. ... python -m pip install granian Running Django in Granian ¶ When Granian is installed, a granian command is available which runs WSGI applications. Granian needs to be called with the location of a module containing a WSGI application object named app ... d interface project How to Rust based high performance server supporting interfaces Installing Running installed available runs needs called location クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/howto/deployment/wsgi/granian.html
How to use Django with Granian — Django 6.1 ドキュメント 8799
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » How to use Django with Granian ¶ Granian is a Rust-based high-performance HTTP server for Python applications, supporting ASGI and WSGI interfaces. ... python -m pip install granian Running Django in Granian ¶ When Granian is installed, a granian command is available which runs ASGI applications. Granian needs to be called with the location of a module containing an ASGI application object, followe ...
https://man.mtool.work/django/6.1/howto/deployment/asgi/granian.html
How to use Django with Granian — Django 6.1 ドキュメント 8799
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » How to use Django with Granian ¶ Granian is a Rust-based high-performance HTTP server for Python applications, supporting ASGI and WSGI interfaces. ... python -m pip install granian Running Django in Granian ¶ When Granian is installed, a granian command is available which runs WSGI applications. Granian needs to be called with the location of a module containing a WSGI application object named app ...
https://man.mtool.work/django/6.1/howto/deployment/wsgi/granian.html
Coding style — Django 6.1 ドキュメント 8315
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Coding style ¶ Please follow these coding standards when writing code for inclusion in Django. Pre-commit checks ¶ pre-commit is a framework for man ... s before code review it allows the reviewer to focus on the change itself, and it can also help to reduce the number of CI runs. To use the tool, first install pre-commit and then the git hooks: /  $ python -m pip install pre-commit $ pre-commit i ... tart: /  $ python -m pip install "isort >= 7.0.0" $ isort . ...\> py -m pip install "isort >= 7.0.0" ...\> isort . This runs isort recursively from your current directory, modifying any files that don't conform to the guidelines. If you need to ha ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/coding-sty...
Django's Tasks framework — Django 6.1 ドキュメント 8315
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django's Tasks framework ¶ New in Django 6.0: For older Django versions, the django-tasks backport is available. For a web application, there's ofte ... Immediate execution ¶ This is the default backend if another is not specified in your settings file. The ImmediateBackend runs enqueued Tasks immediately, rather than in the background. This allows background Task functionality to be slowly added to ... atomic (): Thing . objects . create ( num = 1 ) my_task . enqueue ( thing_num = 1 ) To prevent the scenario where my_task runs before the Thing is committed to the database, use transaction.on_commit() , binding all arguments to enqueue() via functo ...
https://man.mtool.work/django/6.1/topics/tasks.html
Coding style — Django 6.1 ドキュメント 8315
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Coding style ¶ Please follow these coding standards when writing code for inclusion in Django. Pre-commit checks ¶ pre-commit is a framework for man ... s before code review it allows the reviewer to focus on the change itself, and it can also help to reduce the number of CI runs. To use the tool, first install pre-commit and then the git hooks: /  $ python -m pip install pre-commit $ pre-commit i ... tart: /  $ python -m pip install "isort >= 7.0.0" $ isort . ...\> py -m pip install "isort >= 7.0.0" ...\> isort . This runs isort recursively from your current directory, modifying any files that don't conform to the guidelines. If you need to ha ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/coding-sty...
Django's Tasks framework — Django 6.1 ドキュメント 8315
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django's Tasks framework ¶ New in Django 6.0: For older Django versions, the django-tasks backport is available. For a web application, there's ofte ... Immediate execution ¶ This is the default backend if another is not specified in your settings file. The ImmediateBackend runs enqueued Tasks immediately, rather than in the background. This allows background Task functionality to be slowly added to ... atomic (): Thing . objects . create ( num = 1 ) my_task . enqueue ( thing_num = 1 ) To prevent the scenario where my_task runs before the Thing is committed to the database, use transaction.on_commit() , binding all arguments to enqueue() via functo ...
https://man.mtool.work/django/6.1/topics/tasks.html
PREV 1 2 3 4 NEXT