Closed mcepl closed 1 year ago
Thank you.
But that fix has been in master for some time already.
https://github.com/idlesign/pytest-djangoapp/blob/master/pytest_djangoapp/tests/testapp/urls.py
Please give it a try.
Well, make a release.
There are no changes in plugin itself, only in test suite, nothing to release yet.
Right, that’s true.
When running the test suite with Django-4.0 I get this error:
According to https://stackoverflow.com/a/70319607/164233 I have replaced the above import with
from django.conf.urls import re_path as url
, which is a brutal hack, but it seems to help.Another problem was removed method
is_ajax()
of requests:Following the documentation I have created another brutal hack and the resulting patch which makes the test suite pass is: