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 a Student class to provide calculated properties #2

Open
ryansb opened this issue Nov 22, 2014 · 0 comments
Open

Use a Student class to provide calculated properties #2

ryansb opened this issue Nov 22, 2014 · 0 comments
Labels

Comments

@ryansb
Copy link
Owner

ryansb commented Nov 22, 2014

There are a few places now where we execute some logic and add properties to students. It'd be better if we could do something like this.

class Student(object):
    @property
    def participant_page(self):
        return "/blogs/{year}/{term}/{uname}".format(......)

This will require a fair amount of changes to existing code, so before doing this we should work on decause/hflossk#419

migrated from decause/hflossk#420

ryansb added a commit that referenced this issue Nov 22, 2014
New hflossk/resources links

Former-commit-id: 6750ea2e6d499576d6cd6f43cce1745f1fe10d68 [formerly 8835e541cfa1ac7c3888d35d46784a83fc0c6971] [formerly 46a7cad65f7809d17c8935b291df4cfadef6cec8]
Former-commit-id: 269951d08d9e796df78c0352676b30334d2dad6b [formerly 7e39952]
Former-commit-id: dec96fef5dedf46aa7c49e7938c412359c4a6310
@msoucy msoucy added the bitesize label Dec 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants