fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Simpler payments and introduce seasonal banner.
[wolnelektury.git]
/
src
/
api
/
urls.py
diff --git
a/src/api/urls.py
b/src/api/urls.py
index
182e0dd
..
867e1fd
100644
(file)
--- a/
src/api/urls.py
+++ b/
src/api/urls.py
@@
-26,11
+26,15
@@
urlpatterns1 = [
path('', include('bookmarks.api.urls')),
path('', include('search.api.urls')),
path('', include('push.api.urls')),
path('', include('bookmarks.api.urls')),
path('', include('search.api.urls')),
path('', include('push.api.urls')),
+
+ path('partners/', include('partners.api.urls')),
]
urlpatterns = [
path('2/', include((urlpatterns1, 'api'), namespace="v2")),
]
urlpatterns = [
path('2/', include((urlpatterns1, 'api'), namespace="v2")),
+ path('3/', include((urlpatterns1, 'api'), namespace="v3")),
+ path('1/<path:path>', views.Unsupported.as_view()),
path('oauth/request_token/', csrf_exempt(views.OAuth1RequestTokenView.as_view())),
path('oauth/authorize/', views.oauth_user_auth, name='oauth_user_auth'),
path('oauth/request_token/', csrf_exempt(views.OAuth1RequestTokenView.as_view())),
path('oauth/authorize/', views.oauth_user_auth, name='oauth_user_auth'),