django_day11_项目相关 新增和编辑 路由 url(r'^category_add/$', views.category_change, name='category_add'), url(r'^category_edit/(\d+)$', views.category_change, name='category_edit'), 视图 def category_change(request, pk=None): obj = models.Category.objects.filter…