From 6e6662697d6ec71f4fda9ccf57163fc12ba1b264 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Tue, 17 Sep 2019 02:51:00 +0200 Subject: [PATCH] Rend l'API fonctionnelle sous buster --- api/routers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/routers.py b/api/routers.py index 7c9e4a0f..bb2411f5 100644 --- a/api/routers.py +++ b/api/routers.py @@ -76,7 +76,7 @@ class AllViewsRouter(DefaultRouter): """ 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. Highly inspired by the base class. See details on the implementation