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

WIP: Support multiple marking sessions #143

Closed
wants to merge 10 commits into from
Closed

Conversation

struan
Copy link
Member

@struan struan commented Apr 10, 2024

Update the database and the front end to enable multiple sets of questions etc to be stored and displayed at the same time.

Fixes #132
Fixes #139

@struan struan marked this pull request as draft April 10, 2024 16:12
@struan struan force-pushed the 132-support-multiple-years branch from 21f7620 to 8de8429 Compare April 16, 2024 15:34
@struan struan force-pushed the 132-support-multiple-years branch from 009ca19 to 8614912 Compare April 25, 2024 15:32
struan added 10 commits May 8, 2024 11:58
Enables multiple sets of questions etc to be in one database by
associating sections and assignments with a marking session
Set this as a propery on the request object which is not entirely ideal
but is handy. Also set some context data with current session and all
sessions as this is useful in templates
The same as the default set but with a marking session as the first
element in the path so we can be specific about which marking session
Any time we load sections or assignments it needs to check the current
marking session and only load the sections or assignments for that
session. Also use it in counts.
Also adds a command to set up a basic session
Mostly to allow filtering using sessions, but also to display sessions
@struan struan force-pushed the 132-support-multiple-years branch from 40f5ef5 to 6af8b00 Compare May 8, 2024 11:31
@struan
Copy link
Member Author

struan commented May 20, 2024

merged into multi-year-staging

@struan struan closed this May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant