from django.urls import path from otree.urls import urlpatterns import payment.pages urlpatterns.append(path('my_view', payment.pages.my_view))