@ -102,6 +102,12 @@ As a teacher, you can't manage students registered to your course.
The search looks for title, description and level fo the course. There's no advanced search for the moment.
The search looks for title, description and level fo the course. There's no advanced search for the moment.
---
### Pub/sub
Sometimes, I really don't know why, some message published does not appear at all to notifications page. It concerns around 20 % of all messages.
## Bugs
## Bugs
If you see any bugs, please tell me. I really tried my best by testing every feature every time at every change, but I can miss some tricky things. So please, feel free to mail me at corentin.lemaire@etu.uca.fr to report any bug!
If you see any bugs, please tell me. I really tried my best by testing every feature every time at every change, but I can miss some tricky things. So please, feel free to mail me at corentin.lemaire@etu.uca.fr to report any bug!
returnrender(request,'login.html',{'person':Person(name="",role=""),"error_message":"You must login!"})
returnrender(request,'login.html',{'person':Person(name="",role=""),"error_message":"You must login!"})
# Getting up the person id (only the id part without person:)
# Getting up the person id (only the id part without person:)
person_id=getPersonId(person).split(":")[1]
person_id=getPersonId(person)
ifnotperson_id:
#Person id not found
returnrender(request,'courses.html',{'person':person,'courses':courses,'error_message':'Person id not found.'})
# Getting all courses of the person (if he's a teacher, taking all courses where he's teacher ; if he's a student, taking all courses where he's registered to)
# Getting all courses of the person (if he's a teacher, taking all courses where he's teacher ; if he's a student, taking all courses where he's registered to)