per page, with , order by , clip by
Results of 1 - 10 of about 64 for regular (0.003 sec.)
条件式 — Django 6.1 ドキュメント 10826
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 ... 条件式クラス ¶ このページの例では、以下のモデルを使用します: from django.db import models class Client ( models . Model ): REGULAR = "R" GOLD = "G" PLATINUM = "P" ACCOUNT_TYPE_CHOICES = { REGULAR : "Regular" , GOLD : "Gold" , PLATINUM : "Platinum" , } n ... on = models . DateField () account_type = models . CharField ( max_length = 1 , choices = ACCOUNT_TYPE_CHOICES , default = REGULAR , ) When ¶ class When ( condition = None , then = None , ** lookups ) [ソース] ¶ When() オブジェクトは、条件式で使用する条 ... o.db.models import Case , Value , When >>> Client . objects . create ( ... name = "Jane Doe" , ... account_type = Client . REGULAR , ... registered_on = date . today () - timedelta ( days = 36 ), ... ) >>> Client . objects . create ( ... name = "James S ...
https://man.mtool.work/django/6.1/ref/models/conditional-expressions.html
条件式 — Django 6.1 ドキュメント 10826
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 ... 条件式クラス ¶ このページの例では、以下のモデルを使用します: from django.db import models class Client ( models . Model ): REGULAR = "R" GOLD = "G" PLATINUM = "P" ACCOUNT_TYPE_CHOICES = { REGULAR : "Regular" , GOLD : "Gold" , PLATINUM : "Platinum" , } n ... on = models . DateField () account_type = models . CharField ( max_length = 1 , choices = ACCOUNT_TYPE_CHOICES , default = REGULAR , ) When ¶ class When ( condition = None , then = None , ** lookups ) [ソース] ¶ When() オブジェクトは、条件式で使用する条 ... o.db.models import Case , Value , When >>> Client . objects . create ( ... name = "Jane Doe" , ... account_type = Client . REGULAR , ... registered_on = date . today () - timedelta ( days = 36 ), ... ) >>> Client . objects . create ( ... name = "James S ...
https://man.mtool.work/django/6.1/ref/models/conditional-expressions.html
Django 1.11.11 リリースノート — Django 6.1 ドキュメント 10725
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.11.11 リリースノート ¶ 2018年3月6日 Django 1.11.11 では、1.11.10 にあった2つのセキュリティの問題を修正しました。 CVE-2018-7536: urlize と u ... ml.urlize() function was extremely slow to evaluate certain inputs due to catastrophic backtracking vulnerabilities in two regular expressions. The urlize() function is used to implement the urlize and urlizetrunc template filters, which were thus vulne ... rable. The problematic regular expressions are replaced with parsing logic that behaves similarly. CVE-2018-7537: Denial-of-service possibility in trunca ... l=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template f ...
https://man.mtool.work/django/6.1/releases/1.11.11.html
Django 1.8.19 リリースノート — Django 6.1 ドキュメント 10725
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.8.19 リリースノート ¶ 2018年3月6日 Django 1.8.19 では、1.18.18 にあった2つのセキュリティの問題を修正しました。 CVE-2018-7536: urlize と url ... html.urlize() function was extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The urlize() function is used to implement the urlize and urlizetrunc template filters, which were thus vulner ... able. The problematic regular expression is replaced with parsing logic that behaves similarly. CVE-2018-7537: Denial-of-service possibility in truncate ... l=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template f ...
https://man.mtool.work/django/6.1/releases/1.8.19.html
Django 1.11.11 リリースノート — Django 6.1 ドキュメント 10453
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.11.11 リリースノート ¶ 2018年3月6日 Django 1.11.11 では、1.11.10 にあった2つのセキュリティの問題を修正しました。 CVE-2018-7536: urlize と u ... ml.urlize() function was extremely slow to evaluate certain inputs due to catastrophic backtracking vulnerabilities in two regular expressions. The urlize() function is used to implement the urlize and urlizetrunc template filters, which were thus vulne ... rable. The problematic regular expressions are replaced with parsing logic that behaves similarly. CVE-2018-7537: Denial-of-service possibility in trunca ... l=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template f ...
https://man.mtool.work/django/6.1/releases/1.11.11.html
Django 1.8.19 リリースノート — Django 6.1 ドキュメント 10453
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 1.8.19 リリースノート ¶ 2018年3月6日 Django 1.8.19 では、1.18.18 にあった2つのセキュリティの問題を修正しました。 CVE-2018-7536: urlize と url ... html.urlize() function was extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The urlize() function is used to implement the urlize and urlizetrunc template filters, which were thus vulner ... able. The problematic regular expression is replaced with parsing logic that behaves similarly. CVE-2018-7537: Denial-of-service possibility in truncate ... l=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template f ...
https://man.mtool.work/django/6.1/releases/1.8.19.html
Django 2.0.3 リリースノート — Django 6.1 ドキュメント 10094
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.0.3 リリースノート ¶ 2018年3月6日 Django 2.0.3 では、2.0.2 にあった2つのセキュリティの問題と、いくつかのバグを修正しました。また、Transifex ... ml.urlize() function was extremely slow to evaluate certain inputs due to catastrophic backtracking vulnerabilities in two regular expressions. The urlize() function is used to implement the urlize and urlizetrunc template filters, which were thus vulne ... rable. The problematic regular expressions are replaced with parsing logic that behaves similarly. CVE-2018-7537: Denial-of-service possibility in trunca ... l=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template f ...
https://man.mtool.work/django/6.1/releases/2.0.3.html
Django 2.0.3 リリースノート — Django 6.1 ドキュメント 9907
Django 6.1 ドキュメント Home | Table of contents | Index | Modules « previous | up | next » Django 2.0.3 リリースノート ¶ 2018年3月6日 Django 2.0.3 では、2.0.2 にあった2つのセキュリティの問題と、いくつかのバグを修正しました。また、Transifex ... ml.urlize() function was extremely slow to evaluate certain inputs due to catastrophic backtracking vulnerabilities in two regular expressions. The urlize() function is used to implement the urlize and urlizetrunc template filters, which were thus vulne ... rable. The problematic regular expressions are replaced with parsing logic that behaves similarly. CVE-2018-7537: Denial-of-service possibility in trunca ... l=True argument, they were extremely slow to evaluate certain inputs due to a catastrophic backtracking vulnerability in a regular expression. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template f ...
https://man.mtool.work/django/6.1/releases/2.0.3.html
Django 1.8.3 リリースノート — Django 6.1 ドキュメント 9002
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 ... lidators ( EmailValidator , most seriously) didn't prohibit newline characters (due to the usage of $ instead of \Z in the regular expressions). If you use values with newlines in HTTP response or email headers, you can suffer from header injection atta ... f the form fields. The undocumented, internally unused validate_integer() function is now stricter as it validates using a regular expression instead of simply casting the value using int() and checking if an exception was raised. Denial-of-service poss ... ibility in URL validation ¶ URLValidator included a regular expression that was extremely slow to evaluate against certain invalid inputs. This regular expression has been simplified ...
https://man.mtool.work/django/6.1/releases/1.8.3.html
Django 1.8.3 リリースノート — Django 6.1 ドキュメント 8916
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 ... lidators ( EmailValidator , most seriously) didn't prohibit newline characters (due to the usage of $ instead of \Z in the regular expressions). If you use values with newlines in HTTP response or email headers, you can suffer from header injection atta ... f the form fields. The undocumented, internally unused validate_integer() function is now stricter as it validates using a regular expression instead of simply casting the value using int() and checking if an exception was raised. Denial-of-service poss ... ibility in URL validation ¶ URLValidator included a regular expression that was extremely slow to evaluate against certain invalid inputs. This regular expression has been simplified ...
https://man.mtool.work/django/6.1/releases/1.8.3.html
PREV 1 2 3 4 5 6 7 NEXT