検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 24 for Conditional (0.008 sec.)
Conditional Expressions — Django 4.0.6 ドキュメント 15646
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ontents | Index | Modules « previous | up | next » Conditional Expressions ¶ Conditional expressions let you use ... filters, annotations, aggregations, and updates. A conditional expression evaluates a series of conditions for ea ... table and returns the matching result expression. Conditional expressions can also be combined and nested like o ... ther expressions . The conditional expression classes ¶ We'll be using the following ...
https://man.plustar.jp/django/ref/models/conditional-expressions.html - [similar]
django.utils.html — Django 4.0.6 ドキュメント 9808
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... sult in double-escaping. If this is a concern, use conditional_escape() instead. """ return mark_safe ( html . es ... _id , mark_safe ( json_str ), ) [ドキュメント] def conditional_escape ( text ): """ Similar to escape(), except t ... ilar to str.format, but pass all arguments through conditional_escape(), and call mark_safe() on the result. This ... ild up small HTML fragments. """ args_safe = map ( conditional_escape , args ) kwargs_safe = { k : conditional_es ...
https://man.plustar.jp/django/_modules/django/utils/html.html - [similar]
条件付きビュー — Django 4.0.6 ドキュメント 9808
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... set by your view function, or you can rely on the ConditionalGetMiddleware middleware to set the ETag header. Wh ... eed more fine-grained control you may use per-view conditional processing functions. condition デコレータ ¶ Somet ... デコレータの順番に注意 When condition() returns a conditional response, any decorators below it will be skipped ... d to apply to both the regular view response and a conditional response must be above condition() . In particular ...
https://man.plustar.jp/django/topics/conditional-view-processing.html - [similar]
View decorators — Django 4.0.6 ドキュメント 9174
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... prefer using require_safe instead of require_GET . Conditional view processing ¶ The following decorators in djan ... ed to generate ETag and Last-Modified headers; see conditional view processing . GZip compression ¶ The decorator ... ization. 目次 View decorators Allowed HTTP methods Conditional view processing GZip compression Vary headers Cach ...
https://man.plustar.jp/django/topics/http/decorators.html - [similar]
How to create custom template tags and filters — Django 4.0.6 ドキュメント 8440
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ango import template from django.utils.html import conditional_escape from django.utils.safestring import mark_sa ... er = text [ 0 ], text [ 1 :] if autoescape : esc = conditional_escape else : esc = lambda x : x result = '<strong ... data needs to be passed through django.utils.html.conditional_escape or not. (In the latter case, we use the ide ... ntity function as the "escape" function.) The conditional_escape() function is like escape() except it only ...
https://man.plustar.jp/django/howto/custom-template-tags.html - [similar]
Django 1.1 リリースノート — Django 4.0.6 ドキュメント 8290
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... on to delete a group of objects in one fell swoop. Conditional view processing ¶ Django now has much better suppo ... rt for conditional view processing using the standard ETag and Last-M ... Editable fields on the change list Admin "actions" Conditional view processing URL の名前空間 GeoDjango Other imp ...
https://man.plustar.jp/django/releases/1.1.html - [similar]
モデル — Django 4.0.6 ドキュメント 8206
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... t API リファレンス Lookup API reference クエリー式 Conditional Expressions Database Functions 前のトピックへ マイ ...
https://man.plustar.jp/django/ref/models/index.html - [similar]
Django Utils — Django 4.0.6 ドキュメント 8206
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... o a string and the output has mark_safe() applied. conditional_escape ( text ) [ソース] ¶ Similar to escape() , e ... fragments. All args and kwargs are passed through conditional_escape() before being passed to str.format() . For ... l not work, since all arguments are passed through conditional_escape() which (ultimately) calls force_str() on t ... then joined using sep . sep is also passed through conditional_escape() . args_generator should be an iterator th ...
https://man.plustar.jp/django/ref/utils.html - [similar]
ミドルウェア — Django 4.0.6 ドキュメント 8123
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... individual views using the gzip_page() decorator. Conditional GET middleware ¶ class ConditionalGetMiddleware ¶ ... Handles conditional GET operations. If the response doesn't have an ET ... 正するため、 UpdateCacheMiddleware の後に置きます。 ConditionalGetMiddleware Before any middleware that may change ... Cache middleware Common middleware GZip middleware Conditional GET middleware Locale ミドルウェア Message ミドルウ ...
https://man.plustar.jp/django/ref/middleware.html - [similar]
Django 1.8 リリースノート — Django 4.0.6 ドキュメント 7973
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... is a corresponding form field . Query Expressions, Conditional Expressions, and Database Functions ¶ Query Expres ... has also gained the ability to accept expressions. Conditional Expressions allow you to use if ... elif ... else ... nse to stream files. The condition() decorator for conditional view processing now supports the If-unmodified-sin ... ic functionality New data types Query Expressions, Conditional Expressions, and Database Functions TestCase data ...
https://man.plustar.jp/django/releases/1.8.html - [similar]
PREV 1 2 3 NEXT