検索

phrase: max: clip:
target: order:
Results of 11 - 20 of about 138 for exception (0.012 sec.)
django.utils.log — Django 4.0.6 ドキュメント 6974
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ass AdminEmailHandler ( logging . Handler ): """An exception log handler that emails log entries to site admins ... port_string ( reporter_class or settings . DEFAULT_EXCEPTION_REPORTER ) def emit ( self , record ): try : reque ... lse "EXTERNAL" ), record . getMessage (), ) except Exception : subject = " %s : %s " % ( record . levelname , r ... own, create a copy # of the log record without the exception data. no_exc_record = copy ( record ) no_exc_recor ...
https://man.plustar.jp/django/_modules/django/utils/log.html - [similar]
Date-based mixins — Django 4.0.6 ドキュメント 6855
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... function can also return None or raise an Http404 exception, depending on the values of allow_empty and allow_ ... function can also return None or raise an Http404 exception, depending on the values of allow_empty and allow_ ... function can also return None or raise an Http404 exception, depending on the values of allow_empty and allow_ ... function can also return None or raise an Http404 exception, depending on the values of allow_empty and allow_ ...
https://man.plustar.jp/django/ref/class-based-views/mixins-date-based.html - [similar]
Paginator — Django 4.0.6 ドキュメント 6855
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... 場合は、最後のページを返します。 Raises an EmptyPage exception only if you specify Paginator(..., allow_empty_fir ... tor ¶ 関連する Paginator オブジェクトです。 例外 ¶ exception InvalidPage [ソース] ¶ pagenator に無効なページ数が ... スクラスです。 The Paginator.page() method raises an exception if the requested page is invalid (i.e. not an inte ... s. Generally, it's enough to catch the InvalidPage exception, but if you'd like more granularity, you can catch ...
https://man.plustar.jp/django/ref/paginator.html - [similar]
Database instrumentation — Django 4.0.6 ドキュメント 6807
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ould look like this: def blocker ( * args ): raise Exception ( 'No database access allowed here.' ) And it woul ... ): alias = context [ 'connection' ] . alias raise Exception ( "Access to database ' {} ' blocked here" . forma ... = execute ( sql , params , many , context ) except Exception as e : current_query [ 'status' ] = 'error' curren ... t_query [ 'exception' ] = e raise else : current_query [ 'status' ] = ' ...
https://man.plustar.jp/django/topics/db/instrumentation.html - [similar]
django.core.management.base — Django 4.0.6 ドキュメント 6532
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... go from django.core import checks from django.core.exceptions import ImproperlyConfigured from django.core.mana ... KS = "__all__" [ドキュメント] class CommandError ( Exception ): """ Exception class indicating a problem while ... executing a management command. If this exception is raised during the execution of a management com ... t stream (i.e., stderr); as a result, raising this exception (with a sensible description of the error) is the ...
https://man.plustar.jp/django/_modules/django/core/management/base.html - [similar]
django.db.transaction — Django 4.0.6 ドキュメント 6532
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ). Use this to force a rollback without raising an exception. When `rollback` is `False`, prevent such a rollba ... to mark a transaction as "needs rollback" when an exception is raised while not enforcing the enclosed block t ... avoid performance overhead. """ try : yield except Exception : connection = get_connection ( using ) if connect ... rolls back the transaction or to the savepoint on exceptions. It's possible to disable the creation of savepoi ...
https://man.plustar.jp/django/_modules/django/db/transaction.html - [similar]
django.apps.config — Django 4.0.6 ドキュメント 6472
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... om importlib import import_module from django.core.exceptions import ImproperlyConfigured from django.utils.dep ... try : app_module = import_module ( entry ) except Exception : pass else : # If app_module has an apps submodul ... app_config_class = import_string ( entry ) except Exception : pass # If both import_module and import_string f ... (): # We could simply re-trigger the string import exception, but # we're going the extra mile and providing a ...
https://man.plustar.jp/django/_modules/django/apps/config.html - [similar]
django.core.files.uploadhandler — Django 4.0.6 ドキュメント 6472
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... oading import import_string __all__ = [ "UploadFileException" , "StopUpload" , "SkipFile" , "FileUploadHandler" ... andler" , "StopFutureHandlers" , ] class UploadFileException ( Exception ): """ Any error having to do with upl ... ading files. """ pass class StopUpload ( UploadFileException ): """ This exception is raised when an upload mus ... quest data, then halt." class SkipFile ( UploadFileException ): """ This exception is raised by an upload handl ...
https://man.plustar.jp/django/_modules/django/core/files/uploadhandler.html - [similar]
How to implement a custom template backend — Django 4.0.6 ドキュメント 6472
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... formation by setting a template_debug attribute on exceptions raised during parsing and rendering. This attribu ... es: 'name' : The name of the template in which the exception occurred. 'message' : The exception message. 'sour ... he lines before, after, and including the line the exception occurred on. This is for context, so it shouldn't ... lines or so. 'line' : The line number on which the exception occurred. 'before' : The content on the error line ...
https://man.plustar.jp/django/howto/custom-template-backend.html - [similar]
Django 3.1 release notes — Django 4.0.6 ドキュメント 6412
" + tagname + " "); } }); $("div.highlight\\-html\\+django span.nf").each(function(i, elem) { va ... ib.Path . Error Reporting ¶ django.views.debug.SafeExceptionReporterFilter now filters sensitive values from re ... quest.META in exception reports. The new SafeExceptionReporterFilter.clean ... sed_substitute and SafeExceptionReporterFilter.hidden_settings attributes allow cus ... f sensitive settings and request.META filtering in exception reports. The technical 404 debug view now respects ...
https://man.plustar.jp/django/releases/3.1.html - [similar]
PREV 1 2 3 4 5 6 7 8 9 10 11 NEXT