Django 5.2 changed the `BaseFinder` method `find`which now should use `find_all` instead of `all`, see https://github.com/django/django/commit/0fdcf1029cea2d43bd68c5270f48e0f7deab5e47 , https://github.com/django/django/commit/8719a6181ee6e81282822598e7f14d2d5c9b4c3c and https://github.com/django/django/blob/main/django/contrib/staticfiles/finders.py#L65 This currently breaks requests for assets as https://github.com/django/django/blob/802baf5da5b8d8b44990a8214a43b951e7ab8b39/django/contrib/staticfiles/finders.py#L354 calls the find method with a set `find_all` attribute. ``` TypeError: NodeModulesFinder.find() got an unexpected keyword argument find_all ``` ## Recommended Fix Change the method to accept `find_all` until only django 5.2+/6.1 is supported.
Django 5.2 changed the
BaseFindermethodfindwhich now should usefind_allinstead ofall, see django/django@0fdcf10 , django/django@8719a61 and https://github.com/django/django/blob/main/django/contrib/staticfiles/finders.py#L65This currently breaks requests for assets as https://github.com/django/django/blob/802baf5da5b8d8b44990a8214a43b951e7ab8b39/django/contrib/staticfiles/finders.py#L354 calls the find method with a set
find_allattribute.Recommended Fix
Change the method to accept
find_alluntil only django 5.2+/6.1 is supported.