検索

phrase: max: clip:
target: order:
Results of 1 - 10 of about 138 for exception (0.014 sec.)
Django の例外 — Django 4.0.6 ドキュメント 13829
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... o Core 例外 ¶ Django core 例外クラスは django.core.exceptions で定義されています。 AppRegistryNotReady ¶ except ... ion AppRegistryNotReady [ソース] ¶ This exception is raised when attempting to use models before the ... ializes the ORM, is complete. ObjectDoesNotExist ¶ exception ObjectDoesNotExist [ソース] ¶ The base class for M ... odel.DoesNotExist exceptions. A try/except for ObjectDoesNotExist will catch D ...
https://man.plustar.jp/django/ref/exceptions.html - [similar]
django.core.exceptions — Django 4.0.6 ドキュメント 10934
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... Table of contents | Index | Modules up django.core.exceptions のソースコード """ Global Django exception and wa ... _hashable [ドキュメント] class FieldDoesNotExist ( Exception ): """The requested model field does not exist""" ... pass [ドキュメント] class AppRegistryNotReady ( Exception ): """The django.apps registry is not populated ye ... """ pass [ドキュメント] class ObjectDoesNotExist ( Exception ): """The requested object does not exist""" silen ...
https://man.plustar.jp/django/_modules/django/core/exceptions.html - [similar]
How to manage error reporting — Django 4.0.6 ドキュメント 10539
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... default Django records the full traceback for the exception raised, each traceback frame 's local variables, a ... ault error reporter filter: django.views.debug.SafeExceptionReporterFilter . This filter uses the decorators' a ... er class and tell Django to use it via the DEFAULT_EXCEPTION_REPORTER_FILTER setting: DEFAULT_EXCEPTION_REPORTE ... R_FILTER = 'path.to.your.CustomExceptionReporterFilter' You may also control in a more gran ...
https://man.plustar.jp/django/howto/error-reporting.html - [similar]
ミドルウェア (Middleware) — Django 4.0.6 ドキュメント 10204
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 点でも、明示的にビューを制御できるからです。 process_exception() ¶ process_exception ( request , exception ) ¶ re ... quest は HttpRequest オブジェクトです。 exception は、ビュー関数から投げられた Exception オブジェクト ... です。 Django calls process_exception() when a view raises an exception. process_excepti ... sponse returned to the browser. Otherwise, default exception handling kicks in. Again, middleware are run in re ...
https://man.plustar.jp/django/topics/http/middleware.html - [similar]
Model クラスのリファレンス — Django 4.0.6 ドキュメント 10037
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... of Model reference guides . 属性 ¶ DoesNotExist ¶ exception Model. DoesNotExist ¶ This exception is raised by ... the given lookups. Django provides a DoesNotExist exception as an attribute of each model class to identify th ... ect that could not be found, allowing you to catch exceptions for a particular model class. The exception is a ... subclass of django.core.exceptions.ObjectDoesNotExist . MultipleObjectsReturned ¶ ex ...
https://man.plustar.jp/django/ref/models/class.html - [similar]
Built-in Views — Django 4.0.6 ドキュメント 9810
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... found) view ¶ defaults. page_not_found ( request , exception , template_name = '404.html' ) ¶ When you raise Ht ... , which is the URL that resulted in the error, and exception , which is a useful representation of the exceptio ... ntime errors in view code. If a view results in an exception, Django will, by default, call the view django.vie ... en) view ¶ defaults. permission_denied ( request , exception , template_name = '403.html' ) ¶ In the same vein ...
https://man.plustar.jp/django/ref/views.html - [similar]
データベースのトランザクション — Django 4.0.6 ドキュメント 8147
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... te_relationships () except IntegrityError : handle_exception () add_children () In this example, even if genera ... l already have been rolled back safely when handle_exception() is called, so the exception handler can also ope ... se connection within an atomic block will raise an exception. atomic takes a using argument which should be the ... by setting the savepoint argument to False . If an exception occurs, Django will perform the rollback when exit ...
https://man.plustar.jp/django/topics/db/transactions.html - [similar]
asgiref.sync — Django 4.0.6 ドキュメント 7644
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ( loop_future ) # Wait for future and/or allow for exception propagation loop_future . result () else : # Call ... ther (): await asyncio . gather ( * tasks , return_exceptions = True ) loop . run_until_complete ( gather ()) f ... tasks : if task . cancelled (): continue if task . exception () is not None : loop . call_exception_handler ( { ... "message" : "unhandled exception during loop shutdown" , "exception" : task . excep ...
https://man.plustar.jp/django/_modules/asgiref/sync.html - [similar]
Django 1.1.4 リリースノート — Django 4.0.6 ドキュメント 7477
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... d performance of the Django 1.1 codebase. With one exception, Django 1.1.4 maintains backwards compatibility wi ... リースノート . Backwards incompatible changes ¶ CSRF exception for AJAX requests ¶ Django includes a CSRF-protect ... Prior to Django 1.2.5, our CSRF protection made an exception for AJAX requests, on the following basis: Many AJ ... リリースノート Backwards incompatible changes CSRF exception for AJAX requests 前のトピックへ Django 1.2 リリー ...
https://man.plustar.jp/django/releases/1.1.4.html - [similar]
テストツール — Django 4.0.6 ドキュメント 7190
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ion that's described in post() . The raise_request_exception argument allows controlling whether or not excepti ... lues that provides information about the unhandled exception, if any, that occurred during the view. The values ... nfo() . Their meanings are: type : The type of the exception. value : The exception instance. traceback : A tra ... encapsulates the call stack at the point where the exception originally occurred. If no exception occurred, the ...
https://man.plustar.jp/django/topics/testing/tools.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 NEXT