検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 96 for kwargs (0.041 sec.)
Django の admin サイト — Django 4.0.6 ドキュメント 8509
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... d, e.g. super(PersonAdmin, self).__init__(*args, **kwargs) . You can use super().__init__(*args, **kwargs) . ... ( self , obj ): url = reverse ( 'person-detail' , kwargs = { 'slug' : obj . slug }) return 'https://example ... . ModelAdmin. get_form ( request , obj = None , ** kwargs ) ¶ admin の追加と変更のビューで使うための ModelFo ... ): def get_form ( self , request , obj = None , ** kwargs ): if request . user . is_superuser : kwargs [ 'fo ...
https://man.plustar.jp/django/ref/contrib/admin/index.html - [similar]
asgiref.sync — Django 4.0.6 ドキュメント 8260
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... vent_loop = None def __call__ ( self , * args , ** kwargs ): # You can't call AsyncToSync from a thread with ... hread. try : awaitable = self . main_wrap ( args , kwargs , call_result , source_thread , sys . exc_info (), ... . awaitable ) async def main_wrap ( self , args , kwargs , call_result , source_thread , exc_info , context ... on : result = await self . awaitable ( * args , ** kwargs ) else : result = await self . awaitable ( * args ...
https://man.plustar.jp/django/_modules/asgiref/sync.html - [similar]
django.utils.decorators — Django 4.0.6 ドキュメント 8260
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... dummy function. @decorator def dummy ( * args , ** kwargs ): pass update_wrapper ( _wrapper , dummy ) def _m ... = [ decorators ] def _wrapper ( self , * args , ** kwargs ): # bound_method has the signature that 'decorato ... ( bound_method ) return bound_method ( * args , ** kwargs ) # Copy any attributes that a decorator adds to t ... are_class ): def _make_decorator ( * m_args , ** m_kwargs ): def _decorator ( view_func ): middleware = midd ...
https://man.plustar.jp/django/_modules/django/utils/decorators.html - [similar]
django.dispatch.dispatcher — Django 4.0.6 ドキュメント 8207
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... kref from django.utils.inspect import func_accepts_kwargs logger = logging . getLogger ( "django.dispatch" ) ... ignal receivers must be callable." ) # Check for **kwargs if not func_accepts_kwargs ( receiver ): raise Val ... "Signal receivers must accept keyword arguments (**kwargs)." ) if dispatch_uid : lookup_key = ( dispatch_uid ... s = True [ドキュメント] def receiver ( signal , ** kwargs ): """ A decorator for connecting receivers to sig ...
https://man.plustar.jp/django/_modules/django/dispatch/dispatcher.html - [similar]
django.core.management.base — Django 4.0.6 ドキュメント 8089
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... def __init__ ( self , * args , returncode = 1 , ** kwargs ): self . returncode = returncode super () . __ini ... t__ ( * args , ** kwargs ) class SystemCheckError ( CommandError ): """ The ... sage = None , called_from_command_line = None , ** kwargs ): self . missing_args_message = missing_args_mess ... called_from_command_line super () . __init__ ( ** kwargs ) def parse_args ( self , args = None , namespace ...
https://man.plustar.jp/django/_modules/django/core/management/base.html - [similar]
django.core.files.uploadhandler — Django 4.0.6 ドキュメント 7538
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... porary file. """ def new_file ( self , * args , ** kwargs ): """ Create the file object to append to as data ... s coming in. """ super () . new_file ( * args , ** kwargs ) self . file = TemporaryUploadedFile ( self . fil ... _MAX_MEMORY_SIZE def new_file ( self , * args , ** kwargs ): super () . new_file ( * args , ** kwargs ) if s ... pe_extra , ) def load_handler ( path , * args , ** kwargs ): """ Given a path to a handler, return an instan ...
https://man.plustar.jp/django/_modules/django/core/files/uploadhandler.html - [similar]
Generic display ビュー — Django 4.0.6 ドキュメント 7538
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... : model = Article def get_context_data ( self , ** kwargs ): context = super () . get_context_data ( ** kwar ... ric.base.View メソッド get ( request , * args , ** kwargs ) ¶ Adds object to the context. List Views ¶ class ... nation is desired def get_context_data ( self , ** kwargs ): context = super () . get_context_data ( ** kwar ... ric.base.View メソッド get ( request , * args , ** kwargs ) ¶ object_list をコンテキストに追加します。 allow ...
https://man.plustar.jp/django/ref/class-based-views/generic-display.html - [similar]
Signals — Django 4.0.6 ドキュメント 7485
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... function or method: def my_callback ( sender , ** kwargs ): print ( "Request finished!" ) Notice that the f ... rgument, along with wildcard keyword arguments ( **kwargs ); all signal handlers must take these arguments. ... senders a bit later , but right now look at the **kwargs argument. All signals send keyword arguments, and ... ( request_finished ) def my_callback ( sender , ** kwargs ): print ( "Request finished!" ) Now, our my_callb ...
https://man.plustar.jp/django/topics/signals.html - [similar]
Simple mixins — Django 4.0.6 ドキュメント 7301
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... : 'Custom Title' }) メソッド get_context_data ( ** kwargs ) ¶ Returns a dictionary representing the template ... t. Example usage: def get_context_data ( self , ** kwargs ): context = super () . get_context_data ( ** kwar ... メソッド render_to_response ( context , ** response_kwargs ) ¶ Returns a self.response_class instance. If any ...
https://man.plustar.jp/django/ref/class-based-views/mixins-simple.html - [similar]
django.urls functions for use in URLconfs — Django 4.0.6 ドキュメント 7117
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... r use in URLconfs ¶ path() ¶ path ( route , view , kwargs = None , name = None ) ¶ Returns an element for in ... ews. It can also be an django.urls.include() . The kwargs argument allows you to pass additional arguments t ... nt is useful. re_path() ¶ re_path ( route , view , kwargs = None , name = None ) ¶ Returns an element for in ... sion pattern ( re.fullmatch() is used). The view , kwargs and name arguments are the same as for path() . Ch ...
https://man.plustar.jp/django/ref/urls.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT