From 1dcabba90b5856f0f3e692780df81e3ac57bf48d Mon Sep 17 00:00:00 2001 From: FrankApiyo Date: Mon, 23 Nov 2020 17:18:21 +0300 Subject: [PATCH] Add enketo-preview url routed to PreviewXFormListViewSet --- onadata/apps/main/urls.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/onadata/apps/main/urls.py b/onadata/apps/main/urls.py index eda7723424..68e300e427 100644 --- a/onadata/apps/main/urls.py +++ b/onadata/apps/main/urls.py @@ -232,6 +232,9 @@ re_path(r'^enketo/(?P\w+)/formList$', XFormListViewSet.as_view({'get': 'list', 'head': 'list'}), name='form-list'), + re_path(r'^enketo-preview/(?P\w+)/formList$', + PreviewXFormListViewSet.as_view({'get': 'list', 'head': 'list'}), + name='form-list'), re_path(r'^(?P\w+)/(?P\d+)/formList$', XFormListViewSet.as_view({'get': 'list', 'head': 'list'}), name='form-list'),