検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 33 for func (0.017 sec.)
django.utils.functional — Django 4.0.6 ドキュメント 12786
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... able of contents | Index | Modules up django.utils.functional のソースコード import copy import itertools ... import operator from functools import total_ordering , wraps [ドキュメント] ... go 4.0 (#30127). """ name = None @staticmethod def func ( instance ): raise TypeError ( "Cannot use cached ... " "__set_name__() on it." ) def __init__ ( self , func , name = None ): self . real_func = func self . __ ...
https://man.plustar.jp/django/_modules/django/utils/functional.html - [similar]
asgiref.sync — Django 4.0.6 ドキュメント 12690
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... mport asyncio.coroutines import contextvars import functools import inspect import os import sys import th ... ar . set ( context . get ( cvar )) def _iscoroutinefunction_or_partial ( func : Any ) -> bool : # Python < ... correctly determine partially wrapped # coroutine functions are coroutine functions, hence the need for # ... ion_info >= ( 3 , 8 ): return asyncio . iscoroutinefunction ( func ) else : while inspect . ismethod ( fun ...
https://man.plustar.jp/django/_modules/asgiref/sync.html - [similar]
django.utils.decorators — Django 4.0.6 ドキュメント 12000
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Modules up django.utils.decorators のソースコード "Functions that help with dynamically creating decorator ... s for views." from functools import partial , update_wrapper , wraps class ... able in this scope. Cheat by # using it on a dummy function. @decorator def dummy ( * args , ** kwargs ): ... , method ): """ Decorate `method` with one or more function decorators. `decorators` can be a single decor ...
https://man.plustar.jp/django/_modules/django/utils/decorators.html - [similar]
django.core.management.base — Django 4.0.6 ドキュメント 9882
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ptions . pythonpath ) def no_translations ( handle_func ): """Decorator that forces a command to run with ... translation . deactivate_all () try : res = handle_func ( * args , ** kwargs ) finally : if saved_locale i ... apper around stdout/stderr """ @property def style_func ( self ): return self . _style_func @style_func . ... setter def style_func ( self , style_func ): if style_func and self . is ...
https://man.plustar.jp/django/_modules/django/core/management/base.html - [similar]
View decorators — Django 4.0.6 ドキュメント 9272
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ing behavior on particular views. condition ( etag_func = None , last_modified_func = None ) ¶ etag ( etag ... _func ) ¶ last_modified ( last_modified_func ) ¶ These d ... ased on specific request headers. vary_on_cookie ( func ) ¶ vary_on_headers ( * headers ) ¶ The Vary heade ... details of the transformation. never_cache ( view_func ) ¶ This decorator adds an Expires header to the c ...
https://man.plustar.jp/django/topics/http/decorators.html - [similar]
django.dispatch.dispatcher — Django 4.0.6 ドキュメント 8984
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ng import weakref from django.utils.inspect import func_accepts_kwargs logger = logging . getLogger ( "dja ... def _make_id ( target ): if hasattr ( target , "__func__" ): return ( id ( target . __self__ ), id ( targ ... et . __func__ )) return id ( target ) NONE_ID = _make_id ( Non ... ceiver to sender for signal. Arguments: receiver A function or an instance method which is to receive sign ...
https://man.plustar.jp/django/_modules/django/dispatch/dispatcher.html - [similar]
条件付きビュー — Django 4.0.6 ドキュメント 8695
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... al on HTTP responses. They can be set by your view function, or you can rely on the ConditionalGetMiddlewa ... ontrol you may use per-view conditional processing functions. condition デコレータ ¶ Sometimes (in fact, q ... uite often) you can create functions to rapidly compute the ETag value or the last ... construct the full view. Django can then use these functions to provide an "early bailout" option for the ...
https://man.plustar.jp/django/topics/conditional-view-processing.html - [similar]
クエリー式 — Django 4.0.6 ドキュメント 8518
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... els import Count , F , Value from django.db.models.functions import Length , Upper from django.db.models.l ... o.db.models import CharField from django.db.models.functions import Length CharField . register_lookup ( L ... ( 'last_contacted' ) . desc ( nulls_last = True )) Func() 式 ¶ Func() expressions are the base type of all ... expressions that involve database functions like COALESCE and LOWER , or aggregates like ...
https://man.plustar.jp/django/ref/models/expressions.html - [similar]
django.utils.translation — Django 4.0.6 ドキュメント 8182
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... utoreload_started , file_changed from django.utils.functional import lazy from django.utils.regex_helper i ... e other code creates # a reference to one of these functions, don't break that reference when we # replace ... the functions with their real counterparts (once we do acce ... e of this class is to store the actual translation function upon receiving the first call to that function ...
https://man.plustar.jp/django/_modules/django/utils/translation.html - [similar]
django.utils.safestring — Django 4.0.6 ドキュメント 8133
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ules up django.utils.safestring のソースコード """ Functions for working with "safe strings": strings that ... (e.g. '<') into the appropriate entities. """ from functools import wraps class SafeData : def __html__ ( ... jango 2.0. def _safety_decorator ( safety_marker , func ): @wraps ( func ) def wrapped ( * args , ** kwarg ... s ): return safety_marker ( func ( * args , ** kwargs )) return wrapped [ドキュメン ...
https://man.plustar.jp/django/_modules/django/utils/safestring.html - [similar]
PREV 1 2 3 4 NEXT