问题补充(选填):请详细描述你的问题,贴出相关代码或截图,并告知你的操作步骤
from django.conf.urls import url from django.contrib import admin urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^form/$',) ]
Traceback (most recent call last):
File "E:/djangotest/djangotest/urls.py", line 20, in <module>
url(r'^admin/', admin.site.urls),
20行是: url(r'^admin/', admin.site.urls), 不明白为什么出错。