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

content database too complicated, should be flat #9

Open
qdonnellan opened this issue Mar 18, 2014 · 1 comment
Open

content database too complicated, should be flat #9

qdonnellan opened this issue Mar 18, 2014 · 1 comment

Comments

@qdonnellan
Copy link
Owner

Need to change the content database to be more flat (don't need the crazy "lessons have unit parents have course parents") instead, lessons should have a unit attribute that points to the id in the same database model

@qdonnellan qdonnellan changed the title content database too complication, should be flat content database too complicated, should be flat Mar 18, 2014
@qdonnellan
Copy link
Owner Author

working on implementing a new solution such that all Curriculum contents only have two attributes, for example

Curriculum(
    content_type = 'course', 
    content = {
        teacher : 1234,
        private : False,
        approved_students : [123, 456],
    }

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

1 participant