Skip to content

Use a Student class to provide calculated properties #2

Open

Description

@ryansb

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

Activity

  1. added a commit that references this issue on Nov 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions