今天看了有点困 看了好久才写下来的
#主url from django.conf.urls import url,include urlpatterns = [ url(r'^app1/', include("app1.urls")), ] #app url from django.conf.urls import url,include from app1 import views from django.contrib import admin urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^viewQ/', views.viewQ),
完了
可以睡觉额