Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standart serialization #45

Open
onegreyonewhite opened this issue Apr 8, 2016 · 3 comments
Open

Standart serialization #45

onegreyonewhite opened this issue Apr 8, 2016 · 3 comments

Comments

@onegreyonewhite
Copy link
Contributor

I am trying to use native django deserialization with EsIndexable models. But django returns DeserializedObject.
Do you have any idea how to fix it?
I`ll continue trying to fix it, but any idea would be helpful.

@lauxley
Copy link
Contributor

lauxley commented Apr 8, 2016

It sounds like a good idea, what do mean by how to fix it ? what is the problem ?

@onegreyonewhite
Copy link
Contributor Author

Sorry! It is my bad.
I found in DeserializedObject attribute es. Now everything is fine.

@onegreyonewhite
Copy link
Contributor Author

But native serializers.serialize("xml", Traps.es.all()) still does not work becouse:

SerializationError: Non-model object (<type 'dict'>) encountered during serialization

Why EsIndexable.es.search() return dict? Why not EsIndexable object?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants