from django.conf.urls import url from backend.views import wechat_openid urlpatterns = [ url(r'^wx/wechat_openid/', wechat_openid) ]