1.报错:django.template.exceptions.TemplateDoesNotExist: rest_framework/api.html
解决:
a…在INSTALLED_APPS中添加rest_framework
b.TEMPLATES中的APP_DIRS设置为True
django rest framework常见问题总结
最新推荐文章于 2024-01-16 10:07:14 发布
1.报错:django.template.exceptions.TemplateDoesNotExist: rest_framework/api.html
解决:
a…在INSTALLED_APPS中添加rest_framework
b.TEMPLATES中的APP_DIRS设置为True