Closed duckduckgrayduck closed 3 months ago
Found where django.url.resolvers are mentioned: ./src/django-opensearch/opensearch/urls.py:10 ./src/django-opensearch/tests/test_views.py:15:from django.urls.resolvers import URLPattern, URLResolver
but I don't see RegexURLResolver
Traceback (most recent call last): Aug 21 14:27:20 muckrock-staging app/scheduler.1 File "/app/.heroku/python/lib/python3.9/site-packages/newrelic-2.70.0.51/newrelic/config.py", line 1012, in _instrument Aug 21 14:27:20 muckrock-staging app/scheduler.1 getattr(newrelic.api.import_hook.import_module(module), Aug 21 14:27:20 muckrock-staging app/scheduler.1 File "/app/.heroku/python/lib/python3.9/site-packages/newrelic-2.70.0.51/newrelic/hooks/framework_django.py", line 622, in instrument_django_core_urlresolvers Aug 21 14:27:20 muckrock-staging app/scheduler.1 module.RegexURLResolver.resolve) Aug 21 14:27:20 muckrock-staging app/scheduler.1 AttributeError: module 'django.urls.resolvers' has no attribute 'RegexURLResolver'
This is also an error from newrelic.
Aug 21 14:16:13 muckrock-staging app/scheduler.1 AttributeError: module 'django.urls.resolvers' has no attribute 'RegexURLResolver'
Found in papertrails on Heroku logs from recent heroku stack update