Browse Source

Rend l'API fonctionnelle sous buster

fix_buster_api
Gabriel Detraz 6 years ago
committed by root
parent
commit
6e6662697d
  1. 2
      api/routers.py

2
api/routers.py

@ -76,7 +76,7 @@ class AllViewsRouter(DefaultRouter):
""" """
return pattern.split('/')[-1] return pattern.split('/')[-1]
def get_api_root_view(self, schema_urls=None): def get_api_root_view(self, schema_urls=None, api_urls=None):
"""Create a class-based view to use as the API root. """Create a class-based view to use as the API root.
Highly inspired by the base class. See details on the implementation Highly inspired by the base class. See details on the implementation

Loading…
Cancel
Save