django-pdb
django-pdb copied to clipboard
Gives you `manage.py runserver --pdb` and `manage.py test --pdb`
I just call the `super` when the parent is not `object`. That should fix the compat with django 4.1 and any further django change to middleware.
`AttributeError: 'PdbMiddleware' object has no attribute '_is_coroutine'` seems to be coming from not calling `super().__init__()` in the `PdbMiddleware` I added line 41 - first line in the __init__functon: ``` def...
The tests are failing on Django 3.x ```py + python3 testproject/manage.py test Traceback (most recent call last): File "testproject/manage.py", line 9, in execute_from_command_line(sys.argv) File "/usr/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line utility.execute()...
The latest releases on PyPI are 0.6.2, 0.6.1, 0.5.1 The latest tags here are v6.1, v6.0, 0.4.1 I assume tag v6.1 == PyPI 0.6.1. And that PyPI 0.6.2 has no...
` File "/xx/lib/python3.6/site-packages/django_pdb/utils.py", line 15, in get_ipdb return ipdb.__main__.Pdb(def_colors)` `AttributeError: module 'ipdb.__main__' has no attribute 'Pdb'` test not ok when: pip install ipdb >=0.11 test ok when: pip install ipdb==0.10
Fixes issue: https://github.com/HassenPy/django-pdb/issues/45
(py36dj20) swot@pp:~/pp/zlhopesun$ python manage.py runserver --ipdb Performing system checks... System check identified no issues (0 silenced). May 06, 2018 - 02:15:34 Django version 2.0.4, using settings 'XService.settings' Starting development server...
Had an issue where middleware wasn't honoured in django 3.6.3. Stock install from pypi fails with the error below. This fixes that. Traceback (most recent call last): File "./manage.py", line...
Hi Mitch, maybe when you have time pls update this source code to be compatible with python 3 and the rest of them etc. Currently not working :( and it...