Ext.Direct implementation for Django
Hi, your project is very nice and I'm using in my (big) project. I'm facing a problem to serialize a model to Extjs. Could you tell me if there are something wrong with my code? # -_\- coding:utf-8 -_- from extdirect.django import ExtDirectStore from remoting import * from treemenus.models import Menu, MenuItem @remoting(remote_provider, action="menu", len=1) def list(request): data = request.extdirect_post_data items = ExtDirectStore(Menu) return items.query() The response from server: {"where": ["/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/core/serializers/**init**.py", 64, "get_serializer", "return _serializers[format].Serializer"], "tid": 2, "action": "menu", "message": "KeyError: 'extdirect'\n", "type": "exception", "method": "list"} I've checked the code and seems to be this line. store.py line 74 res = serialize('extdirect', queryset, meta=meta, extras=self.extras, total=total) It's a bug or someting else? Best regards, Samir Mamude
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by mamude and has received 1 comments.