# django-debug-helper
Django debug error related exception search on Google/ Stack Overflow.
### Installation
```
$ pip install django-debug-helper
```
### Setting it up
Add the custom middleware to your **MIDDLEWARE** in the ```settings.py```.
```
if DEBUG:
MIDDLEWARE += ('django-debug-helper.debug.ErrorSearchMiddleware', )
```
Next time you get an error in your applications, you will see an external link to a custom **google/ stackoverflow** search as you defined.
By default it set to **google** search, but if you want to use **stackoverflow** search instead of **google** then add this into your ```settings.py```
```
DJANGO_TRACE_SEARCH_SITE = "stackoverflow"
```
PyPI 官网下载 | django-debug-helper-1.1.5.tar.gz
版权申诉
45 浏览量
2022-01-10
16:33:24
上传
评论
收藏 3KB GZ 举报
挣扎的蓝藻
- 粉丝: 12w+
- 资源: 15万+
最新资源
- 论文(最终)_20240430235101.pdf
- 基于python编写的Keras深度学习框架开发,利用卷积神经网络CNN,快速识别图片并进行分类
- 最全空间计量实证方法(空间杜宾模型和检验以及结果解释文档).txt
- 5uonly.apk
- 蓝桥杯Python组的历年真题
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- 前端开发技术实验报告:内含4四实验&实验报告
- Highlight Plus v20.0.1
- 林周瑜-论文.docx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈