from django.conf.urls import include, url,static import selfhelp.views urlpatterns = [ url(r"(?P\w+)/(?P\d+)/pay", 'selfhelp.views.pay_action'), ]