-
返回包含回溯信息的字典。
这是自定义异常报告的主要扩展点,例如:
from django.views.debug import ExceptionReporter class CustomExceptionReporter(ExceptionReporter): def get_traceback_data(self): data = super().get_traceback_data() # ... remove/add something here ... return data
本文介绍django.views.debug.ExceptionReporter.get_traceback_data
的用法。
声明
get_traceback_data()
相关用法
- Python Excel转PDF用法及代码示例
- Python Excel转CSV用法及代码示例
- Python Django ExclusionConstraint.expressions用法及代码示例
- Python Django ExclusionConstraint.opclasses用法及代码示例
- Python Django ExclusionConstraint.deferrable用法及代码示例
- Python Django Expression.relabeled_clone用法及代码示例
- Python Django Extent用法及代码示例
- Python Django Exp用法及代码示例
- Python Django Expression.get_source_expressions用法及代码示例
- Python Django Extent3D用法及代码示例
- Python Django Exists用法及代码示例
- Python Example filter()用法及代码示例
- Python Enumerate()用法及代码示例
- Python Django EmailBackend用法及代码示例
- Python Event is_set()用法及代码示例
- Python Event wait()用法及代码示例
- Python Event clear()用法及代码示例
- Python Event set()用法及代码示例
- Python cudf.core.column.string.StringMethods.is_vowel用法及代码示例
- Python torch.distributed.rpc.rpc_async用法及代码示例
- Python torch.nn.InstanceNorm3d用法及代码示例
- Python sklearn.cluster.MiniBatchKMeans用法及代码示例
- Python pandas.arrays.IntervalArray.is_empty用法及代码示例
- Python tf.compat.v1.distributions.Multinomial.stddev用法及代码示例
- Python numpy.less()用法及代码示例
注:本文由纯净天空筛选整理自djangoproject.com大神的英文原创作品 django.views.debug.ExceptionReporter.get_traceback_data。非经特殊声明,原始代码版权归原作者所有,本译文未经允许或授权,请勿转载或复制。