director_views.py - VamsiSangam/PhDPortal GitHub Wiki

@login_required
def director_add_panel_members(request):
  • user - User model object.
  • message - String object.
  • returns
    1. layout_data - list, data about user
    2. unread_notifications_count - int, count of unread notifications
  • Write a short sentence about what the method does.
  • Control flow -
    1. Query for all thesis under a guide.
    2. For each thesis retrieve the status.
@login_required
def director_view_student_info(request):
  • user - User model object.
  • message - String object.
  • returns
    1. layout_data - list, data about user
    2. unread_notifications_count - int, count of unread notifications
  • Write a short sentence about what the method does.
  • Control flow -
    1. Query for all thesis under a guide.
    2. For each thesis retrieve the status.
@login_required
def director_submit_for_evaluation(request):
  • user - User model object.
  • message - String object.
  • returns
    1. layout_data - list, data about user
    2. unread_notifications_count - int, count of unread notifications
  • Write a short sentence about what the method does.
  • Control flow -
    1. Query for all thesis under a guide.
    2. For each thesis retrieve the status.
@login_required
def invite_indian_referees(thesis):
  • user - User model object.
  • message - String object.
  • returns
    1. layout_data - list, data about user
    2. unread_notifications_count - int, count of unread notifications
  • Write a short sentence about what the method does.
  • Control flow -
    1. Query for all thesis under a guide.
    2. For each thesis retrieve the status.
@login_required
def invite_foreign_referees(thesis):
  • user - User model object.
  • message - String object.
  • returns
    1. layout_data - list, data about user
    2. unread_notifications_count - int, count of unread notifications
  • Write a short sentence about what the method does.
  • Control flow -
    1. Query for all thesis under a guide.
    2. For each thesis retrieve the status.
@login_required
def director_help_procedure(request):
  • user - User model object.
  • message - String object.
  • returns
    1. layout_data - list, data about user
    2. unread_notifications_count - int, count of unread notifications
  • Write a short sentence about what the method does.
  • Control flow -
    1. Query for all thesis under a guide.
    2. For each thesis retrieve the status.
@login_required
def director_help_contacts(request):
  • user - User model object.
  • message - String object.
  • returns
    1. layout_data - list, data about user
    2. unread_notifications_count - int, count of unread notifications
  • Write a short sentence about what the method does.
  • Control flow -
    1. Query for all thesis under a guide.
    2. For each thesis retrieve the status.