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

Adds RawQuerySet to serializer #37

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Adds RawQuerySet to serializer #37

wants to merge 7 commits into from

Conversation

nippo
Copy link

@nippo nippo commented Sep 4, 2014

Hi,
I tried to add RawQuerySet class to serializer...

Thanks!

# for example
elif isinstance(queryset, RawQuerySet) and \
self.properties is not None :
self.serialize_queryset(queryset)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do you test self.properties ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's empirical: without "properties" option, the serialization doesn't work.

@leplatrem
Copy link
Collaborator

Thank you for this contribution !

I would need a little bit more details about what you are trying to achieve.

If you can do it, please also add at least a small test to run the new code!
Some instructions to run the current tests : #11 (comment)

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

Successfully merging this pull request may close these issues.

3 participants