day70test】的更多相关文章

day_70: #api / urls: from django.conf.urls import url from . import views urlpatterns = [ url(r'^cars/$',views.Cars.as_view()) url(r'^cars/(?P<pk>\d+)/$', views.Cars.as_view()) ] #views: from django.http import JsonResponse from django.views import…