diff --git a/readthedocs/api/v2/urls.py b/readthedocs/api/v2/urls.py index 42b354d00be..673b2b6f00f 100644 --- a/readthedocs/api/v2/urls.py +++ b/readthedocs/api/v2/urls.py @@ -1,6 +1,5 @@ """Define routes between URL paths and views/endpoints.""" -from django.conf import settings from django.urls import include, path, re_path from rest_framework import routers @@ -110,11 +109,3 @@ urlpatterns += [ path("webhook/stripe/", StripeEventView.as_view(), name="api_webhook_stripe"), ] - -if "readthedocsext.donate" in settings.INSTALLED_APPS: - # pylint: disable=import-error - from readthedocsext.donate.restapi.urls import urlpatterns as sustainability_urls - - urlpatterns += [ - path("sustainability/", include(sustainability_urls)), - ]