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

Add backrefs #1

Open
jenterkin opened this issue Jul 1, 2013 · 0 comments
Open

Add backrefs #1

jenterkin opened this issue Jul 1, 2013 · 0 comments
Labels

Comments

@jenterkin
Copy link

We need backrefs from Event, and classes that extend from Events, to User so we can reference all associated Events with a user. For example:

    user.events
    user.work_events

Then update all places where we are querying for this information. This will make our code easier to read and to write (no more querying for something so common).
For more information see first comment here.

Edit: On second thought, let's not create a backref from Event, only the classes that extend from it.

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

1 participant