検索

phrase: max: clip:
target: order:
Results of 21 - 30 of about 56 for decorator (0.048 sec.)
Signals — Django 4.0.6 ドキュメント 7219
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... callback ) Alternatively, you can use a receiver() decorator: receiver ( signal ) [ソース] ¶ パラメータ: signal ... ect a function to. Here's how you connect with the decorator: from django.core.signals import request_finished ... nfiguration class . If you're using the receiver() decorator, import the signals submodule inside ready() , thi ...
https://man.plustar.jp/django/topics/signals.html - [similar]
django.urls utility functions — Django 4.0.6 ドキュメント 7028
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ic class-based view. providing a reversed URL to a decorator (such as the login_url argument for the django.con ... trib.auth.decorators.permission_required() decorator). providing a rev ...
https://man.plustar.jp/django/ref/urlresolvers.html - [similar]
ファイルのアップロード — Django 4.0.6 ドキュメント 6969
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... てください。以下はコードの例です: from django.views.decorators.csrf import csrf_exempt , csrf_protect @csrf_exem ... esses the request. Example code: from django.utils.decorators import method_decorator from django.views import ... View from django.views.decorators.csrf import csrf_exempt , csrf_protect @method_de ... ) . setup ( request , * args , ** kwargs ) @method_decorator ( csrf_protect ) def post ( self , request , * arg ...
https://man.plustar.jp/django/topics/http/file-uploads.html - [similar]
ミドルウェア — Django 4.0.6 ドキュメント 6895
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... APPEND_SLASH behavior using the no_append_slash() decorator: from django.views.decorators.common import no_app ... d in Django 3.2: Support for the no_append_slash() decorator was added. Sets the Content-Length header for non- ... pression to individual views using the gzip_page() decorator. Conditional GET middleware ¶ class ConditionalGet ...
https://man.plustar.jp/django/ref/middleware.html - [similar]
TemplateResponse and SimpleTemplateResponse — Django 4.0.6 ドキュメント 6895
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... . However, it can sometimes be beneficial to allow decorators or middleware to modify a response after it has b ... dering has taken place. However, if you're using a decorator, the same opportunities do not exist. Any behavior ... defined in a decorator is handled immediately. To compensate for this (an ...
https://man.plustar.jp/django/ref/template-response.html - [similar]
Django 1.4.6 release notes — Django 4.0.6 ドキュメント 6895
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Fixed an obscure bug with the override_settings() decorator. If you hit an AttributeError: 'Settings' object h ...
https://man.plustar.jp/django/releases/1.4.6.html - [similar]
Django 1.7 release notes — Django 4.0.6 ドキュメント 6895
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... te.register syntax, you can use the new register() decorator to register a ModelAdmin . You may specify ModelAd ... rlying send_mail() call. The permission_required() decorator can take a list of permissions as well as a single ... hem as well , though Django provides a handy class decorator that will work for most applications. App-loading ... and should be replaced by the functools.lru_cache decorator (available from Python 3.2 onward). Django ships a ...
https://man.plustar.jp/django/releases/1.7.html - [similar]
Django 1.4 release notes — Django 4.0.6 ドキュメント 6836
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... CSRF features, including the ensure_csrf_cookie() decorator, which can help with AJAX-heavy sites; protection ... on. Error report filtering ¶ We added two function decorators, sensitive_variables() and sensitive_post_paramet ... precated in 1.4 ¶ Old styles of calling cache_page decorator ¶ Some legacy ways of calling cache_page() have be ... the documentation for the correct way to use this decorator. Support for PostgreSQL versions older than 8.2 ¶ ...
https://man.plustar.jp/django/releases/1.4.html - [similar]
Django 3.1 release notes — Django 4.0.6 ドキュメント 6836
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ts pathlib.Path . キャッシュ ¶ The cache_control() decorator and patch_cache_control() method now support multi ... to responses with an empty content . django.utils.decorators.classproperty() decorator is made public and move ... rterFilter . The cache timeout set by cache_page() decorator now takes precedence over the max-age directive fr ...
https://man.plustar.jp/django/releases/3.1.html - [similar]
データベースのトランザクション — Django 4.0.6 ドキュメント 6836
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... feature wraps every view function in the atomic() decorator described below. あなたのビューの実行だけがトランザ ... hin another it raises a RuntimeError . atomic は、 decorator として使用することも: from django.db import transa ... rmed by transaction.rollback() . When the atomic() decorator is nested, it creates a savepoint to allow partial ...
https://man.plustar.jp/django/topics/db/transactions.html - [similar]
PREV 1 2 3 4 5 6 NEXT