Closed adamchainz closed 1 year ago
Fix this warning from the test run:
test_project/select2_generic_foreign_key/test_forms.py::GenericFormTest::test_initial /.../django-autocomplete-light/test_project/select2_one_to_one/urls.py:21: DeprecationWarning: invalid escape sequence '\d' 'test/(?P<pk>\d+)/$',
Using a raw string is all that's needed. More info: https://adamj.eu/tech/2022/11/04/why-does-python-deprecationwarning-invalid-escape-sequence/
Fix this warning from the test run:
Using a raw string is all that's needed. More info: https://adamj.eu/tech/2022/11/04/why-does-python-deprecationwarning-invalid-escape-sequence/