8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-30 08:32:26 +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 chirac
parent 7fb5f786fd
commit d3310866cd

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