Add a sustainability API from non-OSS code
@@ -97,3 +97,12 @@ try:
urlpatterns += api_search_urls
except ImportError:
pass
+
+try:
+ from readthedocsext.donate.restapi.urls import urlpatterns as sustainability_urls
+
+ urlpatterns += [
+ url(r'^sustainability/', include(sustainability_urls)),
+ ]
+except ImportError:
+ pass
