8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-24 12:23:11 +00:00

Rend l'API fonctionnelle sous buster

This commit is contained in:
Gabriel Detraz 2019-09-17 02:51:00 +02:00 committed by root
parent 55b2ff076a
commit 6e6662697d

View file

@ -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