Results of 1 - 10 of about 43 for handler (0.008 sec.)
- django.core.files.uploadhandler — Django 4.0.6 ドキュメント 14731
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
tents | Index | Modules up django.core.files.uploadhandler のソースコード """ Base file upload handler classe ...
xception" , "StopUpload" , "SkipFile" , "FileUploadHandler" , "TemporaryFileUploadHandler" , "MemoryFileUploa ...
dHandler" , "load_handler" , "StopFutureHandlers" , ] class ...
ption ): """ This exception is raised by an upload handler that wants to skip a given file. """ pass class St ...
-
https://man.plustar.jp/django/_modules/django/core/files/uploadhandler.html
- [similar]
- How to configure and use logging — Django 4.0.6 ドキュメント 13034
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ings, to determine which records are sent to which handlers handlers, to determine what they do with the reco ...
ng disable_existing_loggers to False . Configure a handler ¶ This example configures a single handler named f ...
ile , that uses Python's FileHandler to save logs of level DEBUG and higher to the file ...
al.log (at the project root): LOGGING = { [ ... ] 'handlers' : { 'file' : { 'class' : 'logging.FileHandler' , ...
-
https://man.plustar.jp/django/howto/logging.html
- [similar]
- Signals — Django 4.0.6 ドキュメント 9440
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
ls to be sent. Note also that Django stores signal handlers as weak references by default, so if your handler ...
imezone . now ()) The arguments sent to a pre_init handler would be: Argument 値 sender Question (the class i ...
ls . ManyToManyField ( Topping ) If we connected a handler like this: from django.db.models.signals import m2 ...
gs . add ( t ) the arguments sent to a m2m_changed handler ( toppings_changed in the example above) would be: ...
-
https://man.plustar.jp/django/ref/signals.html
- [similar]
- ビューを記述する — Django 4.0.6 ドキュメント 9255
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
idden if you need any custom behavior. Specify the handlers as seen below in your URLconf (setting them anywh ...
se will have no effect). page_not_found() ビューは handler404 でオーバーライドされます: handler404 = 'mysite. ...
ustom_page_not_found_view' server_error() ビューは handler500 でオーバーライドされます: handler500 = 'mysite. ...
my_custom_error_view' permission_denied() ビューは handler403 でオーバーライドされます: handler403 = 'mysite. ...
-
https://man.plustar.jp/django/topics/http/views.html
- [similar]
- Django 1.11.6 リリースノート — Django 4.0.6 ドキュメント 8684
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
regression in Django 1.9 where a custom view error handler such as handler404 that accesses csrf_token could ...
リリースノート 関連キーワード Fixed , next , when , handler , トピック , Bugfixes , up , previous , Index , ク ...
-
https://man.plustar.jp/django/releases/1.11.6.html
- [similar]
- ロギング — Django 4.0.6 ドキュメント 8592
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
において、 ERROR ないし CRITICAL レベルを AdminEmailHandler に送信します。 Independently of the value of DEBUG ...
he root django logger. The console and mail_admins handlers are attached to the root logger to provide the be ...
server_time} ] {message} ' , 'style' : '{' , } }, 'handlers' : { 'console' : { 'level' : 'INFO' , 'filters' : ...
[ 'require_debug_true' ], 'class' : 'logging.StreamHandler' , }, 'django.server' : { 'level' : 'INFO' , 'clas ...
-
https://man.plustar.jp/django/ref/logging.html
- [similar]
- Django の例外 — Django 4.0.6 ドキュメント 8499
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
uspiciousOperation exception reaches the ASGI/WSGI handler level it is logged at the Error level and results ...
r. If a BadRequest exception reaches the ASGI/WSGI handler level it results in a HttpResponseBadRequest . Req ...
n is raised when an HTTP body being read in by the handler is cut off midstream and the client connection clo ...
closes the connection. It is internal to the HTTP handler modules and you are unlikely to see it elsewhere. ...
-
https://man.plustar.jp/django/ref/exceptions.html
- [similar]
- The syndication feed framework — Django 4.0.6 ドキュメント 8407
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
channel ). SyndicationFeed.add_root_elements(self, handler) Callback to add elements inside the root feed ele ...
ment ( feed / channel ). handler is an XMLGenerator from Python's built-in SAX libr ...
d_item() . SyndicationFeed.add_item_elements(self, handler, item) Callback to add elements to each item ( ite ...
m / entry ) element. handler and item are as above. 警告 If you override any of ...
-
https://man.plustar.jp/django/ref/contrib/syndication.html
- [similar]
- How to deploy with ASGI — Django 4.0.6 ドキュメント 8129
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
sgi:application . 警告 While Django's default ASGI handler will run all your code in a synchronous thread, if ...
you choose to run your own async handler you must be aware of async-safety. Do not call blo ...
-
https://man.plustar.jp/django/howto/deployment/asgi/index.html
- [similar]
- Signals — Django 4.0.6 ドキュメント 7928
- " + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va
...
for more information. weak -- Django stores signal handlers as weak references by default. Thus, if your rece ...
ildcard keyword arguments ( **kwargs ); all signal handlers must take these arguments. We'll look at senders ...
ide-effects of importing code. In practice, signal handlers are usually defined in a signals submodule of the ...
side ready() , this will implicitly connect signal handlers: from django.apps import AppConfig from django.co ...
-
https://man.plustar.jp/django/topics/signals.html
- [similar]