per page, with , order by , clip by
Results of 1 - 10 of about 22 for black (0.006 sec.)
条件式 — Django 6.1 ドキュメント 12070
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 条件式 ¶ Conditional expressions let you use if ... elif ... else logic within filters, annotations, aggregations, and updates. A conditional expres ... OLD , ... registered_on = date . today () - timedelta ( days = 5 ), ... ) >>> Client . objects . create ( ... name = "Jack Black" , ... account_type = Client . PLATINUM , ... registered_on = date . today () - timedelta ( days = 10 * 365 ), ... ) >>> # ... ( "0%" ), ... ), ... ) . values_list ( "name" , "discount" ) <QuerySet [('Jane Doe', '0%'), ('James Smith', '5%'), ('Jack Black', '10%')]> Case() は任意の数の When() オブジェクトを引数として受け取ることができます。その他のオプションはキーワード引数で ... e ( "0%" ), ... ) ... ) . values_list ( "name" , "discount" ) <QuerySet [('Jane Doe', '5%'), ('James Smith', '0%'), ('Jack Black', '10%')]> 注釈 条件は順番に評価されるので、上の例では2番目の条件がJane DoeとJack Blackの両方にマッチしても正しい結果が得ら ...
https://man.mtool.work/django/6.1/ref/models/conditional-expressions.html
条件式 — Django 6.1 ドキュメント 11295
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 条件式 ¶ Conditional expressions let you use if ... elif ... else logic within filters, annotations, aggregations, and updates. A conditional expres ... OLD , ... registered_on = date . today () - timedelta ( days = 5 ), ... ) >>> Client . objects . create ( ... name = "Jack Black" , ... account_type = Client . PLATINUM , ... registered_on = date . today () - timedelta ( days = 10 * 365 ), ... ) >>> # ... ( "0%" ), ... ), ... ) . values_list ( "name" , "discount" ) <QuerySet [('Jane Doe', '0%'), ('James Smith', '5%'), ('Jack Black', '10%')]> Case() は任意の数の When() オブジェクトを引数として受け取ることができます。その他のオプションはキーワード引数で ... e ( "0%" ), ... ) ... ) . values_list ( "name" , "discount" ) <QuerySet [('Jane Doe', '5%'), ('James Smith', '0%'), ('Jack Black', '10%')]> 注釈 条件は順番に評価されるので、上の例では2番目の条件がJane DoeとJack Blackの両方にマッチしても正しい結果が得ら ...
https://man.mtool.work/django/6.1/ref/models/conditional-expressions.html
Django 4.0.3 リリースノート — Django 6.1 ドキュメント 10723
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 4.0.3 リリースノート ¶ 2022年3月1日 Django 4.0.3 では、 4.0.2 におけるいくつかのバグを修正しました。また、Django のすべての Python コードが black ... リースノート 次のトピックへ Django 4.0.2 リリースノート 関連キーワード バグ 修正 regression model リリースノート 1日 コード black 再度 フォーマット Prevented following makemigrations generating infinite migrations ManyToManyField lowercased swappable a ...
https://man.mtool.work/django/6.1/releases/4.0.3.html
Django 4.1.3 リリースノート — Django 6.1 ドキュメント 10723
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 4.1.3 リリースノート ¶ 2022年11月1日 Django 4.1.3 では、4.1.2 における1件のバグを修正し、Python 3.11 との互換性が追加されました。 バグ修正 ¶ ... jango 4.1 で、カスタムテンプレートを使用して startproject や startapp の管理コマンドが作成した非 Python ファイルが、誤って black コマンドでフォーマットされる問題が修正されました ( #34085 )。 目次 Django 4.1.3 リリースノート バグ修正 前のトピックへ Dja ... o 4.1.2 リリースノート 関連キーワード 修正 バグ リリースノート 1日 互換性 カスタム テンプレート startproject startapp 管理 black フォーマット 問題 クイック検索 Last update: 2026年10月09日 « previous | up | next » ...
https://man.mtool.work/django/6.1/releases/4.1.3.html
Django 4.0.3 リリースノート — Django 6.1 ドキュメント 10336
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 4.0.3 リリースノート ¶ 2022年3月1日 Django 4.0.3 では、 4.0.2 におけるいくつかのバグを修正しました。また、Django のすべての Python コードが black ... jango 4.0.2 リリースノート 関連キーワード Django バグ 修正 regression model リリースノート 1日 いくつ すべて Python コード black 再度 フォーマット Prevented following makemigrations generating infinite migrations 関連するページ Django 4.1.3 リリースノ ...
https://man.mtool.work/django/6.1/releases/4.0.3.html
Django 4.1.3 リリースノート — Django 6.1 ドキュメント 10336
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 4.1.3 リリースノート ¶ 2022年11月1日 Django 4.1.3 では、4.1.2 における1件のバグを修正し、Python 3.11 との互換性が追加されました。 バグ修正 ¶ ... jango 4.1 で、カスタムテンプレートを使用して startproject や startapp の管理コマンドが作成した非 Python ファイルが、誤って black コマンドでフォーマットされる問題が修正されました ( #34085 )。 目次 Django 4.1.3 リリースノート バグ修正 前のトピックへ Dja ... ースノート 関連キーワード Django 修正 バグ Python リリースノート 1日 互換性 カスタム テンプレート startproject startapp 管理 black フォーマット 問題 関連するページ Django 4.0.3 リリースノート Django 1.9.9 リリースノート Django 4.2.8 リリースノート Djang ...
https://man.mtool.work/django/6.1/releases/4.1.3.html
Coding style — Django 6.1 ドキュメント 8787
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 will be significantly faster. If an error is found an appropriate error message will be displayed. If the error was with black or isort then the tool will go ahead and fix them for you. Review the changes and re-stage for commit if you are happy wit ... h them. Python style ¶ All files should be formatted using the black auto-formatter. This will be run by pre-commit if that is configured. The project repository includes an .editorconfig fil ... exception to PEP 8 is our rules on line lengths. We allow up to 88 characters in code, as this is the line length used by black . Documentation, comments, and docstrings should be wrapped at 79 characters. These limits are checked when flake8 is run. ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/coding-sty...
Coding style — Django 6.1 ドキュメント 8787
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 will be significantly faster. If an error is found an appropriate error message will be displayed. If the error was with black or isort then the tool will go ahead and fix them for you. Review the changes and re-stage for commit if you are happy wit ... h them. Python style ¶ All files should be formatted using the black auto-formatter. This will be run by pre-commit if that is configured. The project repository includes an .editorconfig fil ... exception to PEP 8 is our rules on line lengths. We allow up to 88 characters in code, as this is the line length used by black . Documentation, comments, and docstrings should be wrapped at 79 characters. These limits are checked when flake8 is run. ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/coding-sty...
Unit tests — Django 6.1 ドキュメント 8215
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 ... ...\> 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 documentation spelling checker. In addition to the system d ... and linked to the appropriate version of Python. A list of default environments can be seen as follows: /  $ tox -l py3 black blacken-docs flake8>=3.7.0 docs isort>=7.0.0 lint-docs zizmor>=1.19.0 ...\> tox -l py3 black blacken-docs flake8> =3.7.0 d ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/unit-tests...
Unit tests — Django 6.1 ドキュメント 8215
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 ... ...\> 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 documentation spelling checker. In addition to the system d ... and linked to the appropriate version of Python. A list of default environments can be seen as follows: /  $ tox -l py3 black blacken-docs flake8>=3.7.0 docs isort>=7.0.0 lint-docs zizmor>=1.19.0 ...\> tox -l py3 black blacken-docs flake8> =3.7.0 d ...
https://man.mtool.work/django/6.1/internals/contributing/writing-code/unit-tests...
PREV 1 2 3 NEXT