Skip to content

Commit 6698de7

Browse files
committed
fixes
1 parent 35bfa02 commit 6698de7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

intranet/apps/dashboard/views.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ def gen_schedule(user, num_blocks: int = 6, surrounding_blocks: Iterable[EighthB
9797
# check if attendance open, if so, will display attendance button
9898
attendance_open = False
9999
if current_sched_act:
100-
from ..eighth.views.attendance import (
101-
check_attendance_open, # avoid circular import, since attendance imports gen_sponsor_schedule from here
102-
)
100+
from ..eighth.views.attendance import check_attendance_open # noqa: PLC0415
103101

104102
attendance_open = check_attendance_open(current_sched_act) is None
105103
sch_act_id = None

intranet/apps/eighth/migrations/0072_eighth_attendance_code.py renamed to intranet/apps/eighth/migrations/0073_eighth_attendance_code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def generate_attendance_codes(apps, schema_editor):
1919
class Migration(migrations.Migration):
2020

2121
dependencies = [
22-
('eighth', '0071_eighthscheduledactivity_sticky_students'),
22+
('eighth', '0072_alter_eighthscheduledactivity_waitlist'),
2323
]
2424

2525
operations = [

0 commit comments

Comments
 (0)