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

use @hybrid_property #22

Open
Sanqui opened this issue Jan 13, 2017 · 2 comments
Open

use @hybrid_property #22

Sanqui opened this issue Jan 13, 2017 · 2 comments

Comments

@Sanqui
Copy link
Owner

Sanqui commented Jan 13, 2017

How does it work? It's probably more fitting for all those model @properties I keep throwing around

@encukou
Copy link
Contributor

encukou commented Jan 14, 2017

YAGNI, until you need to sort/filter/etc. using the properties

@Sanqui
Copy link
Owner Author

Sanqui commented Jan 14, 2017

I do sort e.g. on Suggestion.score.

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