Skip to content

Commit

Permalink
Add a sustainability API from non-OSS code
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfischer committed Feb 21, 2018
1 parent 648e6fd commit a129799
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions readthedocs/restapi/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,12 @@
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

0 comments on commit a129799

Please sign in to comment.