• 1、在进行测试获取列表资源——序列化返回多个模型类对象时,浏览器访问请进行求报错:
    TemplateDoesNotExist at /books/
    django.template.exceptions.TemplateDoesNotExist: rest_framework/api.html

  • 解决方法:在配置文件中注册'rest_framework',
    django.template.exceptions.TemplateDoesNotExist: rest_framework/api.html

相关文章:

  • 2022-02-17
  • 2022-01-20
  • 2021-10-19
  • 2021-08-25
  • 2021-10-14
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-15
  • 2022-01-16
  • 2021-05-15
  • 2021-09-13
  • 2022-12-23
  • 2021-11-18
相关资源
相似解决方案