DRF(django restframework)-数据库查询结果序列化
先看下手动序列化的
# -*- coding: utf-8 -*-
from django.shortcuts import render
# Create your views here.
from django.views import View
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from django.http impo.
原创
2021-01-23 23:51:37 ·
1079 阅读 ·
0 评论