我尝试了许多方法,但似乎无法通过我的类中的方法获取我的列表长度我的代码:unreadMessage = [] print len(SMSStore)#this way i can get the length of the list anyway这个问题是这样问的:Create a class definition for an <
srv/www/poka/app/env/main/lib/python2.7/site-packages/tastypie/resources.py", line 459, in dispatch_listreturn self.dispatch('list', request, **kwargs)
File "/srv/www/poka/app/env/