検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 56 for decorator (0.049 sec.)
django.utils.functional — Django 4.0.6 ドキュメント 7985
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... , wraps [ドキュメント] class cached_property : """ Decorator that converts a method with a single self argument ... eturn res [ドキュメント] class classproperty : """ Decorator that converts a method with a single cls argument ... キュメント] def keep_lazy ( * resultclasses ): """ A decorator that allows a function to be called with one or mo ... pass at least one argument to keep_lazy()." ) def decorator ( func ): lazy_func = lazy ( func , * resultclasse ...
https://man.plustar.jp/django/_modules/django/utils/functional.html - [similar]
Django の admin サイト — Django 4.0.6 ドキュメント 7985
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... in ( admin . ModelAdmin ): pass You can't use this decorator if you have to reference your model admin class in ... ngo 3.2: The empty_value argument to the display() decorator is equivalent to setting the empty_value_display a ... splay . All but the simplest may use the display() decorator, which is used to customize how the field is prese ... title by wrapping the callable with the display() decorator and passing the description argument. Changed in D ...
https://man.plustar.jp/django/ref/contrib/admin/index.html - [similar]
Django 1.2 リリースノート — Django 4.0.6 ドキュメント 7602
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ) , login_required() , and permission_required() , decorators from django.contrib.auth only apply to functions ... ed into forms. All contrib apps use a csrf_protect decorator to protect the view. This requires the use of the ... ired and permission_required ¶ django.contrib.auth.decorators provides the decorators login_required , permissi ... ses_test . Previously it was possible to use these decorators both on functions (where the first argument is 'r ...
https://man.plustar.jp/django/releases/1.2.html - [similar]
django.db.transaction — Django 4.0.6 ドキュメント 7543
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ction のソースコード from contextlib import ContextDecorator , contextmanager from django.db import ( DEFAULT_D ... ommit ( func ) ################################# # Decorators / context managers # ############################ ... ##### class Atomic ( ContextDecorator ): """ Guarantee the atomic execution of a given b ... lock. An instance can be used either as a decorator or as a context manager. When it's used as a decor ...
https://man.plustar.jp/django/_modules/django/db/transaction.html - [similar]
Django 1.4.8 release notes — Django 4.0.6 ドキュメント 7543
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... sensitive_post_parameters() did not include method_decorator() (required since the views are methods) resulting ... in the decorator not being properly applied. This usage has been fi ...
https://man.plustar.jp/django/releases/1.4.8.html - [similar]
Django 1.5.4 release notes — Django 4.0.6 ドキュメント 7543
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... sensitive_post_parameters() did not include method_decorator() (required since the views are methods) resulting ... in the decorator not being properly applied. This usage has been fi ...
https://man.plustar.jp/django/releases/1.5.4.html - [similar]
Django 3.2 release notes — Django 4.0.6 ドキュメント 7352
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... , see the documentation on caching in Django . New decorators for the admin site ¶ The new display() decorator ... ay or readonly_fields . Likewise, the new action() decorator allows for easily adding options to action functio ... that can be used with actions . Using the @display decorator has the advantage that it is now possible to use t ... he @property decorator when needing to specify attributes on the custom m ...
https://man.plustar.jp/django/releases/3.2.html - [similar]
django.dispatch.dispatcher — Django 4.0.6 ドキュメント 7278
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ュメント] def receiver ( signal , ** kwargs ): """ A decorator for connecting receivers to signals. Used by passi ... f signals_receiver(sender, **kwargs): ... """ def _decorator ( func ): if isinstance ( signal , ( list , tuple ... . connect ( func , ** kwargs ) return func return _decorator クイック検索 Last update: 2022年6月01日 up ...
https://man.plustar.jp/django/_modules/django/dispatch/dispatcher.html - [similar]
Unit tests — Django 4.0.6 ドキュメント 7219
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... of boilerplate, Django provides the isolate_apps() decorator. It's used like this: from django.db import models ... class Meta : app_label = 'other_app_label' ... The decorator can also be applied to classes: from django.db imp ... be retrieved as an attribute when used as a class decorator by using the attr_name parameter: from django.db i ... argument on the test method when used as a method decorator by using the kwarg_name parameter: from django.db ...
https://man.plustar.jp/django/internals/contributing/writing-code/unit-tests.htm... - [similar]
Djangoの認証システムを使用する — Django 4.0.6 ドキュメント 7219
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... デコレータを利用できます: from django.contrib.auth.decorators import login_required @login_required def my_view ... 略可能な引数を受け取ります: from django.contrib.auth.decorators import login_required @login_required ( redirect_ ... 以下の例のように利用します: from django.contrib.auth.decorators import login_required @login_required ( login_url ... ックが必要である)場合は、 django.contrib.admin.views.decorators.staff_member_required() デコレータが login_requir ...
https://man.plustar.jp/django/topics/auth/default.html - [similar]
PREV 1 2 3 4 5 6 NEXT