我正在使用教程中的wut4lunch应用程序。这是代码:
from django.conf.urls import include, url
from django.contrib import admin
import wut4lunch.views
urlpatterns = [url(r'^admin/', include(admin.site.urls)),
url(r'^$', 'wut4lunch.views.index', name='home'),
url(r'^newlunch', 'wut4lunch.views.newlunch', name='newlunch')
]
此代码是博客中提到的wut4lunch app的一部分: https://www.airpair.com/python/posts/django-flask-pyramid
我已经给出了url.py的内容。请解释一下问题