            {%- if parametr_enter=='homeworks'%}
                {{my_homework(user)}}
            {%- elif parametr_enter=='my_board' %}
                {{board_add(user)}}
            {%- elif parametr_enter=='tasks_worksheet' %}
                {{query_of_tasks(user)}}
            {%- elif parametr_enter=='my_friends' %}
                {{classmates(user)}} 
            {%- elif parametr_enter=='profile_info' %}    
                {{profile_information(user)}}
            {%- elif parametr_enter=='calendar' %}    
                {{student_calendar(user)}}
            {%- elif parametr_enter=='uved' %}    
                {{uved_studient(user)}}
            {%- elif parametr_enter=='my_files' %}    
                {{my_files(user)}}
            {%- endif %}    сможешь рефакторить данный код?