Results of 1 - 10 of about 66 for tags (0.005 sec.)
- django.contrib.messages.api — Django 4.0.6 ドキュメント 12386
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... ef add_message ( request , level , message , extra_tags = "" , fail_silently = False ): """ Attempt to add ... : return messages . add ( level , message , extra_tags ) [ドキュメント] def get_messages ( request ): """ ... return True def debug ( request , message , extra_tags = "" , fail_silently = False ): """Add a message w ... ge ( request , constants . DEBUG , message , extra_tags = extra_tags , fail_silently = fail_silently , ) d ...
-
https://man.plustar.jp/django/_modules/django/contrib/messages/api.html
- [similar]
- PostgreSQL specific model fields — Django 4.0.6 ドキュメント 10916
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... ): name = models . CharField ( max_length = 200 ) tags = ArrayField ( models . CharField ( max_length = 2 ... >> Post . objects . create ( name = 'First post' , tags = [ 'thoughts' , 'django' ]) >>> Post . objects . ... create ( name = 'Second post' , tags = [ 'thoughts' ]) >>> Post . objects . create ( na ... me = 'Third post' , tags = [ 'tutorial' , 'django' ]) >>> Post . objects . ...
-
https://man.plustar.jp/django/ref/contrib/postgres/fields.html
- [similar]
- contenttypes フレームワーク — Django 4.0.6 ドキュメント 9703
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... uld have to choose one and only one model to store tags for. The contenttypes application provides a speci ... ark ( models . Model ): url = models . URLField () tags = GenericRelation ( TaggedItem ) Bookmark instance ... s will each have a tags attribute, which can be used to retrieve their ass ... ct = b , tag = 'python' ) >>> t2 . save () >>> b . tags . all () <QuerySet [<TaggedItem: django>, <TaggedI ...
-
https://man.plustar.jp/django/ref/contrib/contenttypes.html
- [similar]
- メッセージフレームワーク — Django 4.0.6 ドキュメント 9660
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... れか) のデフォルトのタグを変更するためには、 MESSAGE_TAGS 設定を、あなたが変更したいと思うレベルを含むディク ... trib.messages import constants as messages MESSAGE_TAGS = { messages . INFO : '' , 50 : 'critical' , } ビュ ... ¶ add_message ( request , level , message , extra_tags = '' , fail_silently = False ) [ソース] ¶ メッセー ... for message in messages % } < li { % if message . tags % } class = "{{ message.tags }}" { % endif % } > { ...
-
https://man.plustar.jp/django/ref/contrib/messages.html
- [similar]
- Django 1.11.23 リリースノート — Django 4.0.6 ドキュメント 9660
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... 2019-14233: Denial-of-service possibility in strip_tags() ¶ Due to the behavior of the underlying HTMLPars ... er , django.utils.html.strip_tags() would be extremely slow to evaluate certain inpu ... nces of nested incomplete HTML entities. The strip_tags() method is used to implement the corresponding st ... riptags template filter, which was thus also vulnerable. s ...
-
https://man.plustar.jp/django/releases/1.11.23.html
- [similar]
- Django 2.1.11 リリースノート — Django 4.0.6 ドキュメント 9660
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... 2019-14233: Denial-of-service possibility in strip_tags() ¶ Due to the behavior of the underlying HTMLPars ... er , django.utils.html.strip_tags() would be extremely slow to evaluate certain inpu ... nces of nested incomplete HTML entities. The strip_tags() method is used to implement the corresponding st ... riptags template filter, which was thus also vulnerable. s ...
-
https://man.plustar.jp/django/releases/2.1.11.html
- [similar]
- Django 1.6.11 release notes — Django 4.0.6 ドキュメント 9503
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... n 1.6.10. Denial-of-service possibility with strip_tags() ¶ Last year strip_tags() was changed to work ite ... eration which results in an infinite loop in strip_tags() . This issue only affects versions of Python tha ... s of earlier versions. To remedy this issue, strip_tags() will now return the original input if it detects ... O guarantee is provided about the results of strip_tags() being HTML safe. So NEVER mark safe the result o ...
-
https://man.plustar.jp/django/releases/1.6.11.html
- [similar]
- How to create custom template tags and filters — Django 4.0.6 ドキュメント 9460
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... evious | up | next » How to create custom template tags and filters ¶ Django のテンプレート言語は、アプリケ ... dels.py" や "views.py" などと同じレベルに "templatetags" ディレクトリを含むべきです。まだ存在していない場合 ... い。 Webサーバが自動的にリスタートしない場合 templatetags モジュールを追加した後、テンプレートでタグやフィル ... る必要があります。 カスタムタグやフィルタは templatetags ディレクトリ内のモジュールにあります。モジュールフ ...
-
https://man.plustar.jp/django/howto/custom-template-tags.html
- [similar]
- Django 2.2.4 リリースノート — Django 4.0.6 ドキュメント 9403
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... 2019-14233: Denial-of-service possibility in strip_tags() ¶ Due to the behavior of the underlying HTMLPars ... er , django.utils.html.strip_tags() would be extremely slow to evaluate certain inpu ... nces of nested incomplete HTML entities. The strip_tags() method is used to implement the corresponding st ... riptags template filter, which was thus also vulnerable. s ...
-
https://man.plustar.jp/django/releases/2.2.4.html
- [similar]
- Django 1.7.7 release notes — Django 4.0.6 ドキュメント 9346
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
... in 1.7.6. Denial-of-service possibility with strip_tags() ¶ Last year strip_tags() was changed to work ite ... eration which results in an infinite loop in strip_tags() . This issue only affects versions of Python tha ... s of earlier versions. To remedy this issue, strip_tags() will now return the original input if it detects ... O guarantee is provided about the results of strip_tags() being HTML safe. So NEVER mark safe the result o ...
-
https://man.plustar.jp/django/releases/1.7.7.html
- [similar]