文档:
https://code.ziqiangxuetang.com/django/django-template.html
Django + DRF + 前端框架(比如:Vue )
Django根据现有数据库建立model
python manage.py inspectdb > myapp/models.py
python manage.py migrate
APIView
https://q1mi.github.io/Django-REST-framework-documentation/api-guide/views_zh/
安装:
pip install djangorestframework
静态文件设置
https://blog.csdn.net/zrxx01/article/details/80524459
网友评论