feat: batch timetable

This commit is contained in:
Jannat Patel
2023-09-15 21:55:06 +05:30
parent 9c00a5561a
commit 24e9f46e2f
15 changed files with 448 additions and 128 deletions

View File

@@ -31,7 +31,6 @@ def get_context(context):
batch.seats_left = (
batch.seat_count - batch.student_count if batch.seat_count else None
)
print(batch.name, batch.published)
if not batch.published:
private_batches.append(batch)
elif getdate(batch.start_date) < getdate():