#38 Made instructor specific links on the navbar

This commit was merged in pull request #42.
This commit is contained in:
2023-04-13 15:02:41 -04:00
parent 0db9844e77
commit e07b5add79
2 changed files with 15 additions and 1 deletions

View File

@@ -58,6 +58,7 @@ class User(UserMixin, db.Model):
"id": self.id,
"username": self.username,
"email": self.email,
"role": self.role
}
def from_dict(self, data, new_user=False) -> None: