queryset object has no attribute meta

来源:互联网 发布:什么软件有星花五线谱 编辑:程序博客网 时间:2024/04/28 11:06
filter() returns a QuerySet also if only one object if found. If you want to return just a model instance, use get()
0 0
原创粉丝点击