per page, with , order by , clip by
Results of 1 - 10 of about 210 for Case (0.002 sec.)
条件式 — Django 6.1 ドキュメント 13290
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 ... 性があります。これは 2 つの方法で解決できます: >>> When ( then__exact = 0 , then = 1 ) >>> When ( Q ( then = 0 ), then = 1 ) Case ¶ class Case ( * cases , ** extra ) [ソース] ¶ Case() 式は Python の if ... elif ... else 文のようなものです。指定された W ... オブジェクトの result 式が返されます。 例: >>> >>> from datetime import date , timedelta >>> from django.db.models import Case , Value , When >>> Client . objects . create ( ... name = "Jane Doe" , ... account_type = Client . REGULAR , ... registere ... ), ... ) >>> # Get the discount for each Client based on the account type >>> Client . objects . annotate ( ... discount = Case ( ... When ( account_type = Client . GOLD , then = Value ( "5%" )), ... When ( account_type = Client . PLATINUM , then = V ...
https://man.mtool.work/django/6.1/ref/models/conditional-expressions.html
条件式 — Django 6.1 ドキュメント 13290
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 ... 性があります。これは 2 つの方法で解決できます: >>> When ( then__exact = 0 , then = 1 ) >>> When ( Q ( then = 0 ), then = 1 ) Case ¶ class Case ( * cases , ** extra ) [ソース] ¶ Case() 式は Python の if ... elif ... else 文のようなものです。指定された W ... オブジェクトの result 式が返されます。 例: >>> >>> from datetime import date , timedelta >>> from django.db.models import Case , Value , When >>> Client . objects . create ( ... name = "Jane Doe" , ... account_type = Client . REGULAR , ... registere ... ), ... ) >>> # Get the discount for each Client based on the account type >>> Client . objects . annotate ( ... discount = Case ( ... When ( account_type = Client . GOLD , then = Value ( "5%" )), ... When ( account_type = Client . PLATINUM , then = V ...
https://man.mtool.work/django/6.1/ref/models/conditional-expressions.html
Django 1.8.2 リリースノート — Django 6.1 ドキュメント 9954
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.8.2 リリースノート ¶ May 20, 2015 Django 1.8.2 fixes a security issue and several bugs in 1.8.1. Fixed session flushing in the cached_db ba ... to that account. バグ修正 ¶ Fixed check for template engine alias uniqueness ( #24685 ). Fixed crash when reusing the same Case instance in a query ( #24752 ). Corrected join promotion for Case expressions. For example, annotating a query with a Case ... expression could unexpectedly filter out results ( #24766 ). Fixed negated Q objects in expressions. Cases like Case(When(~Q(friends__age__lte=30))) tried to generate a subquery which resulted in a crash ( #24705 ). Fixed incorr ... トピックへ Django 1.8.3 リリースノート 次のトピックへ Django 1.8.1 リリースノート 関連キーワード session Fixed empty cookie Case contrib account query ForeignKey database cached backend flush users their auth user logged flushed 修正 crash expressions ...
https://man.mtool.work/django/6.1/releases/1.8.2.html
Django 1.8.2 リリースノート — Django 6.1 ドキュメント 9711
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.8.2 リリースノート ¶ May 20, 2015 Django 1.8.2 fixes a security issue and several bugs in 1.8.1. Fixed session flushing in the cached_db ba ... to that account. バグ修正 ¶ Fixed check for template engine alias uniqueness ( #24685 ). Fixed crash when reusing the same Case instance in a query ( #24752 ). Corrected join promotion for Case expressions. For example, annotating a query with a Case ... expression could unexpectedly filter out results ( #24766 ). Fixed negated Q objects in expressions. Cases like Case(When(~Q(friends__age__lte=30))) tried to generate a subquery which resulted in a crash ( #24705 ). Fixed incorr ... .8.3 リリースノート 次のトピックへ Django 1.8.1 リリースノート 関連キーワード session Fixed Django key empty string cookie Case db contrib account query ForeignKey database cached backend flush set users their 関連するページ Django 1.7.10 リリースノー ...
https://man.mtool.work/django/6.1/releases/1.8.2.html
Django 1.11.2 リリースノート — Django 6.1 ドキュメント 7857
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.11.2 リリースノート ¶ June 1, 2017 Django 1.11.2 adds a minor feature and fixes several bugs in 1.11.1. Also, the latest string translation ... s from Transifex are incorporated. Minor feature ¶ The new LiveServerTestCase.port attribute reallows the use case of binding to a specific port following the bind to port zero change in Django 1.11. ... ed the ImageField file extension validation added in Django 1.11 from the model field to the form field to reallow the use case of storing images without an extension ( #28242 ). 目次 Django 1.11.2 リリースノート Minor feature バグ修正 前のトピックへ ... スノート 次のトピックへ Django 1.11.1 リリースノート 関連キーワード Fixed crash model port detection regression feature use case contrib rather utils safe invalid fields argument adding validation added create reallow date extension リリースノート Jun ...
https://man.mtool.work/django/6.1/releases/1.11.2.html
Django 1.11.2 リリースノート — Django 6.1 ドキュメント 7730
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.11.2 リリースノート ¶ June 1, 2017 Django 1.11.2 adds a minor feature and fixes several bugs in 1.11.1. Also, the latest string translation ... s from Transifex are incorporated. Minor feature ¶ The new LiveServerTestCase.port attribute reallows the use case of binding to a specific port following the bind to port zero change in Django 1.11. ... ed the ImageField file extension validation added in Django 1.11 from the model field to the form field to reallow the use case of storing images without an extension ( #28242 ). 目次 Django 1.11.2 リリースノート Minor feature バグ修正 前のトピックへ ... クへ Django 1.11.1 リリースノート 関連キーワード Fixed Django crash model port detection django regression field feature use case contrib rather utils safe invalid fields argument adding validation 関連するページ Django 1.8.6 リリースノート Django 1.7. ...
https://man.mtool.work/django/6.1/releases/1.11.2.html
Django 1.8.3 リリースノート — Django 6.1 ドキュメント 6862
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.8.3 リリースノート ¶ July 8, 2015 Django 1.8.3 fixes several security issues and bugs in 1.8.2. Also, django.utils.deprecation.RemovedInDja ... Fixed recording of applied status for squashed (replacement) migrations ( #24628 ). Fixed queryset annotations when using Case expressions with exclude() ( #24833 ). Corrected join promotion for multiple Case expressions. Annotating a query with mul ... tiple Case expressions could unexpectedly filter out results ( #24924 ). Fixed usage of transforms in subqueries ( #24744 ). Fixed Si ... mpleTestCase.assertRaisesMessage() on Python 2.7.10 ( #24903 ). Provided better backwards compatibility for the verbosity argument in o ...
https://man.mtool.work/django/6.1/releases/1.8.3.html
Django 5.2.5 リリースノート — Django 6.1 ドキュメント 6862
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 5.2.5 リリースノート ¶ 2025年8月6日 Django 5.2.5 では、 5.2.4 におけるいくつかのバグを修正しました。 バグ修正 ¶ Django 5.2.1 において、外部キ ... フィルタリングを行う際に発生していたクラッシュを修正しました( #36522 )。 Django 5.2 において、 GeneratedField や Q および Case ルックアップで構成された制約を使用するモデルを検証する際に発生していたクラッシュを修正しました( #36518 )。 docutils 0.22 ... グ 複合 モデル リリースノート 外部 QuerySet bulk create PostgreSQL 戦略 リグレッション タプル フィルタリング GeneratedField Case ルックアップ 構成 制約 検証 docutils 互換性 ManyToManyField クイック検索 Last update: 2026年10月09日 « previous | up | nex ...
https://man.mtool.work/django/6.1/releases/5.2.5.html
Django 1.8.3 リリースノート — Django 6.1 ドキュメント 6745
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.8.3 リリースノート ¶ July 8, 2015 Django 1.8.3 fixes several security issues and bugs in 1.8.2. Also, django.utils.deprecation.RemovedInDja ... Fixed recording of applied status for squashed (replacement) migrations ( #24628 ). Fixed queryset annotations when using Case expressions with exclude() ( #24833 ). Corrected join promotion for multiple Case expressions. Annotating a query with mul ... tiple Case expressions could unexpectedly filter out results ( #24924 ). Fixed usage of transforms in subqueries ( #24744 ). Fixed Si ... mpleTestCase.assertRaisesMessage() on Python 2.7.10 ( #24903 ). Provided better backwards compatibility for the verbosity argument in o ...
https://man.mtool.work/django/6.1/releases/1.8.3.html
配信 (syndication) フィード フレームワーク — Django 6.1 ドキュメント 6491
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » 配信 (syndication) フィード フレームワーク ¶ Django には、 RSS と Atom フィードを作成するための高レベルな配信 (syndication) フィード生成フレームワー ... uthor email. # AUTHOR LINK --One of the following three is optional. The framework # looks for them in this order. In each case, the URL should include # the scheme (such as "https://") and domain name. def author_link ( self , obj ): """ Takes the o ... author URL. # CATEGORIES -- One of the following three is optional. The framework # looks for them in this order. In each case, the method/attribute # should return an iterable object that returns strings. def categories ( self , obj ): """ Takes th ... email. # ITEM AUTHOR LINK -- One of the following three is optional. The # framework looks for them in this order. In each case, the URL should # include the scheme (such as "https://") and domain name. # # If you specify this, you must specify item_ ...
https://man.mtool.work/django/6.1/ref/contrib/syndication.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT