django RESTful API
2021-06-23 08:08
标签:exception res cep djang error tee name nal when django中的字段参数TextField如果不加参数就会报出类似的错,加入,blank = True,问题就会解决 django RESTful API 标签:exception res cep djang error tee name nal when 原文地址:https://www.cnblogs.com/tanyingling/p/10199629.htmlGot AttributeError when attempting to get a value for field `code` on serializer `SnippetSerializer`.
The serializer field might be named incorrectly and not match any attribute or key on the `UserInfo` instance.
Original exception text was: ‘UserInfo‘ object has no attribute ‘codet‘
下一篇:HTML语言基本标签