django.template.exceptions.TemplateDoesNotExist: rest_framework/api.html

1、在進行測試獲取列表資源——序列化返回多個模型類對象時,瀏覽器訪問請進行求報錯: TemplateDoesNotExist at /books/ 解決方法:在配置文件中註冊'rest_framework',
相關文章
相關標籤/搜索