guide_views.py - VamsiSangam/PhDPortal GitHub Wiki

@login_required
def guide_add_referee(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.
def send_notification_to_other_guides(user, message, 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 guide_unevaluated_abstract(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 guide_evaluate_unevaluated_abstract(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 guide_unevaulated_synopsis(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 guide_evaluate_unevaluated_synopsis(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 guide_unevaluated_thesis(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 guide_evaluate_unevaluated_thesis(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 guide_phd_status(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.
def _get_referee_details(str, type, thesis_id):
  • 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 guide_get_foreign_referee_details(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 guide_submit_evaluation_panel(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 guide_send_panel_to_admin(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 guide_save_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 guide_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 guide_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.
@login_required
def guide_feedback_reports(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 guide_re_evaluate(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 guide_modifications(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 guide_viva_voice(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.