Skip to content

Incantations

Adam Hooper edited this page Feb 12, 2019 · 2 revisions

To delete all lesson-derived workflow data from your dev machine

$ bin/dev python ./manage.py shell  # to launch a shell
>>> from server.models import Workflow
>>> [wf.delete() for wf in Workflow.objects.filter(lesson_slug__isnull=False)]