摘要: 由于前后端分离采用json格式的数据进行交互,rest框架实现了功能强大的序列化器 model模型 from django.db import models from pygments.lexers import get_all_lexers from pygments.styles import 阅读全文