У меня есть этот код в моем views.py
me = StudentsCoreValuesDescription.objects.filter(grading_Period = coreperiod)\
.values('Marking','Students_Enrollment_Records__Students_Enrollment_Records__Students_Enrollment_Records__Students_Enrollment_Records__Student_Users__Firstname')\
.distinct('Students_Enrollment_Records__Students_Enrollment_Records__Students_Enrollment_Records__Students_Enrollment_Records__Student_Users__Firstname').order_by('Students_Enrollment_Records__Students_Enrollment_Records__Students_Enrollment_Records__Students_Enrollment_Records__Student_Users__Firstname')
, когда я пытался отобразить его в моем html
{% for students in me %}
<tr>
<td colspan="2"><input type="hidden" value="{{students.id}}" name="student">{{students.Students_Enrollment_Records.Students_Enrollment_Records.Students_Enrollment_Records.Students_Enrollment_Records.Students_Enrollment_Records.Student_Users.Firstname}}</td>
</tr>
{% endfor %}
ничего не отображается на моем сайте, и когда я попытался напечатать print (me) в результате получилось