from django.urls import re_path as url from . import views urlpatterns = [ url('index', views.index, name='index'), url('deploy_contract_function', views.deploy_contract_function, name='deploy_contract_function') ]