per page, with , order by , clip by
Results of 1 - 10 of about 62 for Tags (0.002 sec.)
PostgreSQL 固有のモデルフィールド 11256
PostgreSQL 固有のモデルフィールド これらのフィールドは全て django.contrib.postgres.fields モジュールから利用できます。 これらのフィールドにインデックスを付ける Index と Field.db_index は両方とも B-tree インデックスを作成しますが、複雑なデー ... port ArrayField from django.db import models class Post ( models . Model ): name = models . CharField ( max_length = 200 ) tags = ArrayField ( models . CharField ( max_length = 200 ), blank = True ) def __str__ ( self ): return self . name contains A ... の部分集合であるものです。これは SQL 演算子 @> を使用します。たとえば、: >>> Post . objects . create ( name = "First post" , tags = [ "thoughts" , "django" ]) >>> Post . objects . create ( name = "Second post" , tags = [ "thoughts" ]) >>> Post . object ... s . create ( name = "Third post" , tags = [ "tutorial" , "django" ]) >>> Post . objects . filter ( tags__contains = [ "thoughts" ]) <QuerySet [<Post: First post>, ...
https://man.mtool.work/django/6.1/ref/contrib/postgres/fields.html
Django 4.2.17 リリースノート 10533
Django 4.2.17 リリースノート 2024年12月4日 Django 4.2.17 では 4.2.16 におけるセキュリティの問題のうち 深刻度 "high" 1件と深刻度 "moderate" 1件を修正しました。 CVE-2024-53907: strip_tags() における DoS 攻撃の可能性 strip_tags() would be extr ... emely slow to evaluate certain inputs containing large sequences of nested incomplete HTML entities. The strip_tags() method is used to implement the corresponding striptags template filter, which was thus also vulnerable. strip_tags() no ... fore raising a SuspiciousOperation exception. Remember that absolutely NO guarantee is provided about the results of strip_tags() being HTML safe. So NEVER mark safe the result of a strip_tags() call without escaping it first, for example with django ...
https://man.mtool.work/django/6.1/releases/4.2.17.html
Django 5.0.10 リリースノート 10533
Django 5.0.10 リリースノート 2024年12月4日 Django 5.0.10 では 5.0.9 におけるセキュリティの問題のうち 深刻度 "high" 1件と深刻度 "moderate" 1件を修正しました。 CVE-2024-53907: strip_tags() における DoS 攻撃の可能性 strip_tags() would be extre ... mely slow to evaluate certain inputs containing large sequences of nested incomplete HTML entities. The strip_tags() method is used to implement the corresponding striptags template filter, which was thus also vulnerable. strip_tags() no ... fore raising a SuspiciousOperation exception. Remember that absolutely NO guarantee is provided about the results of strip_tags() being HTML safe. So NEVER mark safe the result of a strip_tags() call without escaping it first, for example with django ...
https://man.mtool.work/django/6.1/releases/5.0.10.html
Django 1.11.23 リリースノート 10418
Django 1.11.23 リリースノート August 1, 2019 Django 1.11.23 fixes security issues in 1.11.22. CVE-2019-14232: Denial-of-service possibility in django.utils.text.Truncator If django.utils.text.Truncator 's chars() and words() methods were pa ... g punctuation may now at times be included in the truncated output. CVE-2019-14233: Denial-of-service possibility in strip_tags() Due to the behavior of the underlying HTMLParser , django.utils.html.strip_tags() would be extremely slow to evaluate ce ... rtain inputs containing large sequences of nested incomplete HTML entities. The strip_tags() method is used to implement the corresponding striptags template filter, which was thus also vulnerable. strip_tags() no ... w avoids recursive calls to HTMLParser when progress removing tags, but necessarily incomplete HTML entities, stops being made. Remember that absolutely NO guarantee is provided about the r ...
https://man.mtool.work/django/6.1/releases/1.11.23.html
Django 2.1.11 リリースノート 10418
Django 2.1.11 リリースノート August 1, 2019 Django 2.1.11 fixes security issues in 2.1.10. CVE-2019-14232: Denial-of-service possibility in django.utils.text.Truncator If django.utils.text.Truncator 's chars() and words() methods were passe ... g punctuation may now at times be included in the truncated output. CVE-2019-14233: Denial-of-service possibility in strip_tags() Due to the behavior of the underlying HTMLParser , django.utils.html.strip_tags() would be extremely slow to evaluate ce ... rtain inputs containing large sequences of nested incomplete HTML entities. The strip_tags() method is used to implement the corresponding striptags template filter, which was thus also vulnerable. strip_tags() no ... w avoids recursive calls to HTMLParser when progress removing tags, but necessarily incomplete HTML entities, stops being made. Remember that absolutely NO guarantee is provided about the r ...
https://man.mtool.work/django/6.1/releases/2.1.11.html
Django 5.1.4 リリースノート 10172
Django 5.1.4 リリースノート 2024年12月4日 Django 5.1.4 では、 5.1.3 におけるセキュリティの問題のうち深刻度 "high" 1件、深刻度 "moderate" 1件を含め、いくつかのバグを修正しました。 CVE-2024-53907: strip_tags() における DoS 攻撃の可能性 strip_ ... ould be extremely slow to evaluate certain inputs containing large sequences of nested incomplete HTML entities. The strip_tags() method is used to implement the corresponding striptags template filter, which was thus also vulnerable. strip_tags() no ... fore raising a SuspiciousOperation exception. Remember that absolutely NO guarantee is provided about the results of strip_tags() being HTML safe. So NEVER mark safe the result of a strip_tags() call without escaping it first, for example with django ...
https://man.mtool.work/django/6.1/releases/5.1.4.html
Django 1.6.11 リリースノート 9926
Django 1.6.11 リリースノート March 18, 2015 Django 1.6.11 fixes two security issues in 1.6.10. Denial-of-service possibility with strip_tags() Last year strip_tags() was changed to work iteratively. The problem is that the size of the input ... it's processing can increase on each iteration which results in an infinite loop in strip_tags() . This issue only affects versions of Python that haven't received a bugfix in HTMLParser ; namely Python < 2.7.7 and 3. ... ndors have also backported the fix for the Python bug into their packages of earlier versions. To remedy this issue, strip_tags() will now return the original input if it detects the length of the string it's processing increases. Remember that absol ... utely NO guarantee is provided about the results of strip_tags() being HTML safe. So NEVER mark safe the result of a strip_tags() call without escaping it first, for example with escape ...
https://man.mtool.work/django/6.1/releases/1.6.11.html
Django 2.2.4 リリースノート 9926
Django 2.2.4 リリースノート August 1, 2019 Django 2.2.4 fixes security issues and several bugs in 2.2.3. CVE-2019-14232: Denial-of-service possibility in django.utils.text.Truncator If django.utils.text.Truncator 's chars() and words() meth ... g punctuation may now at times be included in the truncated output. CVE-2019-14233: Denial-of-service possibility in strip_tags() Due to the behavior of the underlying HTMLParser , django.utils.html.strip_tags() would be extremely slow to evaluate ce ... rtain inputs containing large sequences of nested incomplete HTML entities. The strip_tags() method is used to implement the corresponding striptags template filter, which was thus also vulnerable. strip_tags() no ... w avoids recursive calls to HTMLParser when progress removing tags, but necessarily incomplete HTML entities, stops being made. Remember that absolutely NO guarantee is provided about the r ...
https://man.mtool.work/django/6.1/releases/2.2.4.html
Django 1.7.7 リリースノート 9695
Django 1.7.7 リリースノート March 18, 2015 Django 1.7.7 fixes several bugs and security issues in 1.7.6. Denial-of-service possibility with strip_tags() Last year strip_tags() was changed to work iteratively. The problem is that the size of ... the input it's processing can increase on each iteration which results in an infinite loop in strip_tags() . This issue only affects versions of Python that haven't received a bugfix in HTMLParser ; namely Python < 2.7.7 and 3. ... ndors have also backported the fix for the Python bug into their packages of earlier versions. To remedy this issue, strip_tags() will now return the original input if it detects the length of the string it's processing increases. Remember that absol ... utely NO guarantee is provided about the results of strip_tags() being HTML safe. So NEVER mark safe the result of a strip_tags() call without escaping it first, for example with escape ...
https://man.mtool.work/django/6.1/releases/1.7.7.html
contenttypes フレームワーク 9088
contenttypes フレームワーク Django には contenttypes アプリケーションが含まれており、 Django を使ったプロジェクトにインストールされているすべてのモデルを追跡し、モデルを扱うための高レベルで汎用的なインターフェースを提供します。 概要 content ... s.fields import GenericRelation from django.db import models class Bookmark ( models . Model ): url = models . URLField () tags = GenericRelation ( TaggedItem ) 各 "Bookmark" インスタンスには、 tags という属性があります。これを使用して、リレーション先 ... b , tag = "django" ) >>> t1 . save () >>> t2 = TaggedItem ( content_object = b , tag = "python" ) >>> t2 . save () >>> b . tags . all () <QuerySet [<TaggedItem: django>, <TaggedItem: python>]> また、 add() , create() , set() を使ってリレーションシップ ... を作成することもできます: >>> t3 = TaggedItem ( tag = "Web development" ) >>> b . tags . add ( t3 , bulk = False ) >>> b . tags . create ( tag = "Web framework" ) <TaggedItem: Web framework> >>> b . tags . all ...
https://man.mtool.work/django/6.1/ref/contrib/contenttypes.html
PREV 1 2 3 4 5 6 7 NEXT