From 6bcdf1d8139173bb9c59939e14f513f6eb4dc14d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 18 Feb 2022 10:29:47 +0100 Subject: [PATCH] misc: update drf register call to use basename keyword arg (#61951) --- fargo/fargo/api_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fargo/fargo/api_views.py b/fargo/fargo/api_views.py index bbd942a..babd31f 100644 --- a/fargo/fargo/api_views.py +++ b/fargo/fargo/api_views.py @@ -245,4 +245,4 @@ class ValidationAPI( router = routers.SimpleRouter() -router.register(r'validation/(?P[^/]*)', ValidationAPI, base_name='fargo-api-validation') +router.register(r'validation/(?P[^/]*)', ValidationAPI, basename='fargo-api-validation')