Skip to content

Commit 5ffb14e

Browse files
committed
.
1 parent bc629be commit 5ffb14e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

att/views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def show_student_report(request, section_name):
273273
return render(request, 'table.html', {
274274
'headers' : ["Roll no"] + [
275275
f"{subject.short_name} ({get_classes_count(section, subject, student)})" for subject in subjects
276-
] + ["Percentage"],
276+
],
277277
'data' : [counts, percen],
278278
'percentage': per / subjects.count(),
279279
'include_percentage' : True,

db.sqlite3

0 Bytes
Binary file not shown.

templates/show_periods.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="row justify-content-center">
66
<div class="col-10">
77
<a
8-
href="/mark_attendance/{{ section }}/new"
8+
href="/mark_attendance/{{ section }}/new/"
99
class="btn btn-primary"
1010
>
1111
Mark Attendance
@@ -53,7 +53,7 @@
5353
</td>
5454
<td>
5555
<a
56-
href="/update_attendance/{{ section }}/{{ id }}"
56+
href="/update_attendance/{{ section }}/{{ id }}/"
5757
class = "btn btn-primary"
5858
>
5959
Update

0 commit comments

Comments
 (0)