Browse Source

Feature: Use api/v2 instead of drf_api/

pull/139/head
winkidney 5 years ago
parent
commit
109c46252a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      pinry/urls.py

+ 2
- 2
pinry/urls.py View File

@@ -13,9 +13,9 @@ admin.autodiscover()

urlpatterns = [
# drf api
url(r'^drf_api/', include(drf_router.urls)),
url(r'^api/v2/', include(drf_router.urls)),
url(r'^api-auth/', include('rest_framework.urls', namespace="rest_framework")),
url(r'^drf_api/docs/', include_docs_urls(title='PinryAPI', schema_url='/')),
url(r'^api/v2/docs/', include_docs_urls(title='PinryAPI', schema_url='/')),

# old api and views
url(r'^admin/', include(admin.site.urls)),


Loading…
Cancel
Save