検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 145 for Case (0.037 sec.)
Conditional Expressions — Django 4.0.6 ドキュメント 14657
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ing the condition argument with lookups was added. Case ¶ class Case ( * cases , ** extra ) ¶ A Case() exp ... date , timedelta >>> from django.db.models import Case , Value , When >>> Client . objects . create ( ... ... e >>> Client . objects . annotate ( ... discount = Case ( ... When ( account_type = Client . GOLD , then = ... '), ('James Smith', '5%'), ('Jack Black', '10%')]> Case() accepts any number of When() objects as individu ...
https://man.plustar.jp/django/ref/models/conditional-expressions.html - [similar]
データベース — Django 4.0.6 ドキュメント 10609
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... an external system, or thanks to caching. In such cases, you should set CONN_MAX_AGE to a low value or ev ... more susceptible to data loss or corruption in the case of a server crash or power loss. Only use this on ... ted thoroughly in the MySQL documentation. In such cases, you must set the collation by directly manipulat ... in all string equality comparisons being done in a case-insensitive manner. That is, "Fred" and "freD" are ...
https://man.plustar.jp/django/ref/databases.html - [similar]
Django 1.8.2 リリースノート — Django 4.0.6 ドキュメント 10113
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ness ( #24685 ). Fixed crash when reusing the same Case instance in a query ( #24752 ). Corrected join pro ... motion 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 t ...
https://man.plustar.jp/django/releases/1.8.2.html - [similar]
QuerySet API リファレンス — Django 4.0.6 ドキュメント 9854
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 。Djangoは使用するデータベースバックエンドが通常このCase-sensitiveをどのように扱うかに従って結果を並び替えま ... order by the relation _id field ( blog_id in this case) or the referenced one ( blog__pk ) to make sure b ... tiple such fields in your values() query, in which case all possible combinations will be returned. values ... both intended as optimizations for a specific use case: retrieving a subset of data without the overhead ...
https://man.plustar.jp/django/ref/models/querysets.html - [similar]
テストツール — Django 4.0.6 ドキュメント 9358
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... those frameworks; see the section on LiveServerTestCase for more details. 包括的なテストスイートを実現する ... True , that exception will be visible in the test case. You can then use a standard try ... except block ... into the appropriate HTTP response codes. In these cases, you can check response.status_code in your test. ... st import Client class SimpleTest ( unittest . TestCase ): def setUp ( self ): # Every test needs a client ...
https://man.plustar.jp/django/topics/testing/tools.html - [similar]
Django のセキュリティポリシー — Django 4.0.6 ドキュメント 8213
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... kage, or for general security reporting. In either case, such addresses must not forward to public mailing ... urity-response groups are strongly preferred. On a case-by-case basis, individual package maintainers who ... nd responsibly acting on these notifications. On a case-by-case basis, other entities who, in the judgment ...
https://man.plustar.jp/django/internals/security.html - [similar]
How to create custom template tags and filters — Django 4.0.6 ドキュメント 7340
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... y one argument. """Converts a string into all lowercase""" return value . lower () 独自のフィルタを登録する ... the result that were not already present. In this case, you can let Django take care of all the auto-esca ... valid entity and thus needs further escaping. Most cases won't be nearly this tricky, but keep an eye out ... ils.html.conditional_escape or not. (In the latter case, we use the identity function as the "escape" func ...
https://man.plustar.jp/django/howto/custom-template-tags.html - [similar]
The syndication feed framework — Django 4.0.6 ドキュメント 7210
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... framework # looks for them in this order. In each case, the URL should include # the "http://" and domain ... framework # looks for them in this order. In each case, the method/attribute # should return an iterable ... # framework looks for them in this order. In each case, the URL should # include the "http://" and domain ... # framework looks for them in this order. In each case, the returned # value should be either an integer, ...
https://man.plustar.jp/django/ref/contrib/syndication.html - [similar]
リクエストとレスポンスのオブジェクト — Django 4.0.6 ドキュメント 7210
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... to META keys by converting all characters to uppercase, replacing any hyphens with underscores and adding ... LENGTH and CONTENT_TYPE . HttpRequest. headers ¶ A case insensitive, dict-like object that provides access ... gent ) when it's displayed. You can access headers case-insensitively: >>> request . headers {'User-Agent' ... oming request in a streaming fashion. A common use-case would be to process a big XML payload with an iter ...
https://man.plustar.jp/django/ref/request-response.html - [similar]
Django 1.8.3 リリースノート — Django 4.0.6 ドキュメント 7080
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ( #24628 ). Fixed queryset annotations when using Case expressions with exclude() ( #24833 ). Corrected j ... oin promotion for multiple Case expressions. Annotating a query with multiple Case ... ansforms in subqueries ( #24744 ). Fixed SimpleTestCase.assertRaisesMessage() on Python 2.7.10 ( #24903 ). ...
https://man.plustar.jp/django/releases/1.8.3.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT