Advertisement
Guest User

Untitled

a guest
Jan 16th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. class controller:
  2. #during initialization a structure for saving session_id's of users should be created
  3. def __init__(self):
  4. pass
  5.  
  6. #checks login data, creates session and gives coookie with session id
  7. def login(user)
  8. pass
  9. #checks session_id from cookie and returns user data
  10. def check_if_logged(id_from_cookie)
  11. pass
  12.  
  13. def import_laboratories_or_projects(csv_file)
  14. pass
  15. def import_students(file)
  16. pass
  17.  
  18. def add_subject(subject)
  19. pass
  20. def add_realization(subject)
  21. pass
  22.  
  23. def sign_up_for_project_or_laboratory(participation)
  24. pass
  25. def delete_participation(participation)
  26. pass
  27.  
  28. def get_subjects()
  29. pass
  30. def get_current_realizations(subject)
  31. pass
  32.  
  33. def get_projects_or_laboratories_for_realization(realization)
  34. pass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement