Skip to content

Commit

Permalink
fix: get level by name
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Dec 4, 2024
1 parent d1d88bf commit bfbc598
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions game/migrations/0111_create_worksheets.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def create_worksheets(apps: Apps, *args):
),
Worksheet(
episode=Episode.objects.get(pk=12),
before_level=Level.objects.get(pk=156),
before_level=Level.objects.get(name="1001"),
lesson_plan_link="https://code-for-life.gitbook.io/python-lessons-with-raspberry-pi-ide/DGiFT28ihVJK7ghZQHqu/python-5-iteration-part-1",
slides_link="https://4077022412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwAuC4Q5WQz4ea2O2b2JP%2Fuploads%2FG1pLAqvXg6s6hGtnb5ss%2FPython%205%20-%20Iteration%201.pptx?alt=media&token=d9bf3e3f-bf12-4227-89b7-70515e16dcc9",
student_worksheet_link="https://code-for-life.gitbook.io/student-resources/python-den-student-resources/worksheet-5-iteration-part-1",
Expand All @@ -65,7 +65,7 @@ def create_worksheets(apps: Apps, *args):
),
Worksheet(
episode=Episode.objects.get(pk=13),
before_level=Level.objects.get(pk=157),
before_level=Level.objects.get(name="1014"),
lesson_plan_link="https://code-for-life.gitbook.io/python-lessons-with-raspberry-pi-ide/DGiFT28ihVJK7ghZQHqu/python-7-selection-in-a-loop",
slides_link="https://4077022412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwAuC4Q5WQz4ea2O2b2JP%2Fuploads%2FPtj4c6IjIafaUPN8k4u1%2FPython%207%20-%20Selection%20in%20a%20loop.pptx?alt=media&token=9f5fce8e-bb72-4e38-8715-89ec7bcc6d6c",
student_worksheet_link="https://code-for-life.gitbook.io/student-resources/python-den-student-resources/worksheet-7-selection-in-a-loop",
Expand All @@ -74,7 +74,7 @@ def create_worksheets(apps: Apps, *args):
),
Worksheet(
episode=Episode.objects.get(pk=14),
before_level=Level.objects.get(pk=169),
before_level=Level.objects.get(name="1026"),
lesson_plan_link="https://code-for-life.gitbook.io/python-lessons-with-raspberry-pi-ide/DGiFT28ihVJK7ghZQHqu/python-8-indeterminate-loops",
slides_link="https://4077022412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwAuC4Q5WQz4ea2O2b2JP%2Fuploads%2FkxewOibLrvKLpJpuDBRH%2FPython%208%20-%20Indeterminate%20Loops.pptx?alt=media&token=ddf212d5-f0a7-47b2-8a6b-420ca2cccc12",
student_worksheet_link="https://code-for-life.gitbook.io/student-resources/python-den-student-resources/worksheet-8-indeterminate-loops",
Expand All @@ -101,7 +101,7 @@ def create_worksheets(apps: Apps, *args):
),
Worksheet(
episode=Episode.objects.get(pk=15),
before_level=Level.objects.get(pk=184),
before_level=Level.objects.get(name="1041"),
lesson_plan_link="https://code-for-life.gitbook.io/python-lessons-with-raspberry-pi-ide/DGiFT28ihVJK7ghZQHqu/python-11-using-for-loops",
slides_link="https://4077022412-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwAuC4Q5WQz4ea2O2b2JP%2Fuploads%2F8AjR4b5mO4yOzEIVNI4V%2FPython%2011%20-%20For%20loops.pptx?alt=media&token=5eaa671c-a5eb-43a3-9f13-3478349027e5",
student_worksheet_link="https://code-for-life.gitbook.io/student-resources/python-den-student-resources/worksheet-11-for-loops",
Expand Down

0 comments on commit bfbc598

Please sign in to comment.