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

dataservice should support related table field #14

Open
davi17g opened this issue May 7, 2017 · 1 comment
Open

dataservice should support related table field #14

davi17g opened this issue May 7, 2017 · 1 comment

Comments

@davi17g
Copy link
Contributor

davi17g commented May 7, 2017

@OriHoch:

maybe it's worth to create a new class for this type of fields
something like:
("committee", KnessetdataServiceRelatedField("CommitteeID", dataservice_class=Committee))
which will handle it automatically
but need to make sure by default it doesn't fetch the related object - only when user requests it
so I'm not sure what's the best way to implement it..

@davi17g
Copy link
Contributor Author

davi17g commented May 7, 2017

see related PR: #8

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

1 participant