Closed paul-bokelman closed 5 months ago
Challenges:
Will require changes to db models. What changes allow the information to be indexed well?
school
field to all models (except tags)school
model that houses all information for that schoolschool
field to parents of models (club
model)valid subdomains should be fetched from DB instead of constants in the future.
Will require changes to db models. What changes allow the information to be indexed well?
- add
school
field to all models (except tags)- add
school
model that houses all information for that school- add
school
field to parents of models (club
model)
added school model and attached school to each model except tags
Description
Each school in the ClubCompass system should have their own identifying sub-domain in order for the application to know which data to show. The dynamic subdomain should be parsed as a string and sent as an identifier in every request made to the server. The server should read this identifier and update the database specific records accordingly. Invalid subdomains will display an error message to the user and strip all functionality.
*Will require full restructure of database
Parent: #20