forked from mmcinnestaylor/Programming-Contest-Suite
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Background
The PCS currently treats all contest teams as affiliates of FSU. A team's organization affiliation appears as an attribute in the DOMjudge scoreboard. Implementing support by allowing registrants to select an institution affiliation during team creation will enable future contests to cater to a wider audience.
Changes
- Create a
Schoolsmodel to represent an institution- Attrs:
name: ex.Florida State Universityshort_name: ex.FSUcountry: Country code in ISO 3166-1 alpha-3 format
- Attrs:
- Update
django-import-exportsettings to enableSchooldata to be uploaded within Django admin - Add a
schoolattribute to theTeammodel- Foreign key relationship with
Schoolmodel
- Foreign key relationship with
- Update Team creation form (
src/register/forms.py) to allow user to select a school - Update the DOMjudge file creation Celery task (
src/contestadmin/tasks.py) to useTeam.schoolas a team's affiliationname,short_name,country- The current implementation uses a hardcoded values of
Florida State University,FSU,USA
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request