摘要:
一、django rest的Authentication用户认证配置 REST_FRAMEWORK = { 'DEFAULT_AUTHENTICATION_CLASSES': [ 'rest_framework.authentication.BasicAuthentication', 'rest_f 阅读全文
摘要:
官网:https://www.django-rest-framework.org/tutorial/1-serialization/ 总结如下: 一、序列化 定义model class Snippet(models.Model): created = models.DateTimeField(aut 阅读全文