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

Added a price_to_base classmethod and to_base method #15

Merged
merged 1 commit into from
Oct 21, 2014

Conversation

ydaniv
Copy link
Contributor

@ydaniv ydaniv commented Oct 2, 2014

Added some handy helpers on the Currency model for converting a price to the base currency.

panosl added a commit that referenced this pull request Oct 21, 2014
Added a price_to_base classmethod and to_base method
@panosl panosl merged commit 6377207 into panosl:master Oct 21, 2014
@panosl
Copy link
Owner

panosl commented Oct 21, 2014

Thanks for the contribution!

@ydaniv
Copy link
Contributor Author

ydaniv commented Oct 21, 2014

@panosl great! Thanks for accepting! I see that I forgot to add a small and crucial fix. The utils import in models is causing a circular dependency.
I'll quickly commit the fix in another PR.

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.

None yet

2 participants