Skip to content

Commit

Permalink
Add enketo-preview url routed to PreviewXFormListViewSet
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankApiyo committed Nov 25, 2020
1 parent 1f048b8 commit 1dcabba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions onadata/apps/main/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@
re_path(r'^enketo/(?P<xform_pk>\w+)/formList$',
XFormListViewSet.as_view({'get': 'list', 'head': 'list'}),
name='form-list'),
re_path(r'^enketo-preview/(?P<xform_pk>\w+)/formList$',
PreviewXFormListViewSet.as_view({'get': 'list', 'head': 'list'}),
name='form-list'),
re_path(r'^(?P<username>\w+)/(?P<xform_pk>\d+)/formList$',
XFormListViewSet.as_view({'get': 'list', 'head': 'list'}),
name='form-list'),
Expand Down

0 comments on commit 1dcabba

Please sign in to comment.