検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 29 for wrapper (0.020 sec.)
Database instrumentation — Django 4.0.6 ドキュメント 14423
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... y your code, Django provides a hook for installing wrapper functions around the execution of database queries ... . For example, wrappers can count queries, measure query duration, log qu ... le rendering a template with prefetched data). The wrappers are modeled after middleware -- they are callable ... separate factory like middleware do. Installing a wrapper is done in a context manager -- so the wrappers ar ...
https://man.plustar.jp/django/topics/db/instrumentation.html - [similar]
django.utils.decorators — Django 4.0.6 ドキュメント 12775
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... for views." from functools import partial , update_wrapper , wraps class classonlymethod ( classmethod ): def ... () . __get__ ( instance , cls ) def _update_method_wrapper ( _wrapper , decorator ): # _multi_decorate()'s bo ... ator def dummy ( * args , ** kwargs ): pass update_wrapper ( _wrapper , dummy ) def _multi_decorate ( decorat ... [:: - 1 ] else : decorators = [ decorators ] def _wrapper ( self , * args , ** kwargs ): # bound_method has ...
https://man.plustar.jp/django/_modules/django/utils/decorators.html - [similar]
django.utils.functional — Django 4.0.6 ドキュメント 10360
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... pe_ . __dict__ : # All __promise__ return the same wrapper method, they # look up the correct implementation ... def __promise__ ( cls , method_name ): # Builds a wrapper around some magic method def __wrapper__ ( self , ... r ( res , method_name )( * args , ** kw ) return __wrapper__ def __text_cast ( self ): return func ( * self . ... ( self )] = self return self @wraps ( func ) def __wrapper__ ( * args , ** kw ): # Creates the proxy object, ...
https://man.plustar.jp/django/_modules/django/utils/functional.html - [similar]
django.db.utils — Django 4.0.6 ドキュメント 9593
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... edError ( DatabaseError ): pass class DatabaseErrorWrapper : """ Context manager and decorator that reraises ... specific database exceptions using Django's common wrappers. """ def __init__ ( self , wrapper ): """ wrapper ... is a database wrapper. It must have a Database attribute defining PEP-24 ... 9 exceptions. """ self . wrapper = wrapper def __enter__ ( self ): pass def __exit_ ...
https://man.plustar.jp/django/_modules/django/db/utils.html - [similar]
非同期サポート — Django 4.0.6 ドキュメント 8272
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... tion that wraps it. Can be used as either a direct wrapper or a decorator: from asgiref.sync import async_to_ ... thread_sensitive mode of sync_to_async() when that wrapper is used below it. sync_to_async() ¶ sync_to_async ... tion that wraps it. Can be used as either a direct wrapper or a decorator: from asgiref.sync import sync_to_a ... synchronous and you are using the async_to_sync() wrapper. thread_sensitive=False : the sync function will r ...
https://man.plustar.jp/django/topics/async.html - [similar]
GDAL API — Django 4.0.6 ドキュメント 7945
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Data Source Objects ¶ DataSource ¶ DataSource is a wrapper for the OGR data source object that supports readi ... _input was added. Layer ¶ class Layer ¶ Layer is a wrapper for a layer of data in a DataSource object. You ne ... (specified by name) for this feature, not a Field wrapper object: >>> city . get ( 'Population' ) 102121 geo ... nctionality with GEOSGeometry objects and are thin wrappers around OGR's internal geometry representation. Th ...
https://man.plustar.jp/django/ref/contrib/gis/gdal.html - [similar]
Signals — Django 4.0.6 ドキュメント 7945
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ext with which the template was rendered. Database Wrappers ¶ Signals sent by the database wrapper when a dat ... gnals. connection_created ¶ Sent when the database wrapper makes the initial connection to the database. This ... 送信される引数は以下の通りです: sender The database wrapper class -- i.e. django.db.backends.postgresql.Databa ... seWrapper or django.db.backends.mysql.DatabaseWrapper , etc. ...
https://man.plustar.jp/django/ref/signals.html - [similar]
asgiref.sync — Django 4.0.6 ドキュメント 7766
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... lf . __call__ , parent ) return functools . update_wrapper ( func , self . awaitable ) async def main_wrap ( ... unctions." ) self . func = func functools . update_wrapper ( self , func ) self . _thread_sensitive = thread_ ...
https://man.plustar.jp/django/_modules/asgiref/sync.html - [similar]
Geolocation with GeoIP2 — Django 4.0.6 ドキュメント 7701
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... » Geolocation with GeoIP2 ¶ The GeoIP2 object is a wrapper for the MaxMind geoip2 Python library . [1] In ord ...
https://man.plustar.jp/django/ref/contrib/gis/geoip2.html - [similar]
django.core.mail — Django 4.0.6 ドキュメント 7635
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... nection = None , html_message = None , ): """ Easy wrapper for sending a single message to a recipient list. ...
https://man.plustar.jp/django/_modules/django/core/mail.html - [similar]
PREV 1 2 3 NEXT