Thomas Kolar

Results 10 comments of Thomas Kolar

I'm aware that this pull request decreases code coverage as currently measured. However, this is the case because of refactoring for flexibility, not because I introduce any new behavior; I...

@shuckc I take it you mean this? https://caniuse.com/#feat=form-submit-attributes Because as far as I see it, there is no need to do away with the existing `move_view` or any jQuery shenanigans...

I already made #178 back then! It's not a very inspired solution, though, just more parameters for buttons. Buttons are handled differently from fields in [forms.py](https://github.com/zostera/django-bootstrap4/blob/c3fe3009740b41bbcb46a584c4c47863ce3948e3/src/bootstrap4/forms.py) right now - fields...

(A side note: as a workaround, the following works for me: ``` foo.delete() bar.deleted = True (...) foo.undelete() bar.undelete() ``` But also, that is very hacky. )

I am now using [python-web-pdb](https://github.com/romanvm/python-web-pdb), and the following work out of the box: - `pytest --pdb --pdbcls=web_pdb:WebPdb ` (ie no xdist) - `import web_pdb; web_pdb.set_trace()` in my test, with xdist

When I remove the two places where xdist currently disables usepdb, and combine the two approaches, it crashes because the debugger logs that it is starting up. However - I...

Re SSH gateway: I have no idea, never used that feature, but I see no reason for it to be much different. The idea to use a channel for communication...

After changing the settings didn't resolve my issue, I did some more digging, and: https://github.com/django/django/blob/main/django/db/backends/base/creation.py#L60 So basically, whenever a test needs to run more than one thread, only one of...

For those who are here because they googled the issue, I found a workaround: install a signal handler for `connection_created` in a global session-scoped autouse fixture that makes sure that...

@dfrank-a I did something like this (code untested): global `conftest.py` ```python import pytest from django.conf import settings from django.db.backends.signals import connection_created @pytest.fixture(autouse=True) def patch_connection_setings(django_db, request): def connection_created_handler(sender, connection): # modify...