Skip to content

Commit

Permalink
Merge pull request #2848 from ccnmtl/nikolas-patch-2
Browse files Browse the repository at this point in the history
Add comment to Step.next_step column
  • Loading branch information
Evan-CTL authored Nov 20, 2023
2 parents 3fd9374 + fe2d4fc commit b97c109
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions econplayground/assignment/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@ class Step(MP_Node):
Question, on_delete=models.SET_NULL,
blank=True, null=True)

# Each step has an optional next_step attribute which overrides default
# navigation behavior. This is configured by the instructor and is blank
# by default.
next_step = models.ForeignKey(
'self', on_delete=models.SET_NULL,
blank=True, null=True)
Expand Down

0 comments on commit b97c109

Please sign in to comment.