CHG rename professor display name
See original GitHub issueThe Course model has both professor
and professor_for_course
. The professor
column seems to only be the name of the professor while professor_for_course
is a one-to-many relationship with ProfessorForCourse
model. So professor
looks redundant and should be removed. However, removing this column seems to be not easy as we need to:
- Change all the occurrences in the code that directly access this column
- Do a database migration on the production server, which as far as I know can only be done by @wabscale
There’s a trick for the first change. After removing professor
column we can write a professor
property in Course
that returns the value professor
column originally contains. This way we don’t have to change all the occurrences in the code.
The reason I don’t do a PR immediately is because I don’t know if there’re other side effects that I haven’t considered yet. So please let me know you thoughts @wabscale .
Issue Analytics
- State:
- Created 2 years ago
- Comments:5
Top Results From Across the Web
Clever Portal: Display Names
Click on the student's display name in the top-right corner · From the dropdown, select Change display name · Enter the desired display...
Read more >Change your My Directory Listing : TechWeb - Boston University
How to change your display name: · Please go to the My Directory Listing website here. · Make sure you have a personal...
Read more >how to change class teacher's name in an existing team?
If you want to change the display name, yo need to contact your IT admin to help you, they need login to Microsoft...
Read more >How to change your Active Directory display name
This page describes how to change your display name in Active Directory if you are staff/faculty. This change will appear in any service ......
Read more >LSUMail: Update Display Name - GROK Knowledge Base
To Change your Display Name (Faculty / Staff / Student Worker): · 1. Log into Workday. · 2. Click the Personal Information worklet....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No worries. This is not mission critical right now. Take all the time you need. Thanks for all your contributions, it is much appreciated.
Thanks for assigning this to me. I’ll probably work on it later this week as I’ve been busy with my own stuff. Also I need to check out how alembic works.