Skip to content

Instantly share code, notes, and snippets.

@norm
Last active May 14, 2026 11:03
Show Gist options
  • Select an option

  • Save norm/9263fba4a07bb1e94090d112eb8e1735 to your computer and use it in GitHub Desktop.

Select an option

Save norm/9263fba4a07bb1e94090d112eb8e1735 to your computer and use it in GitHub Desktop.
>>> for type in PerformanceIncidentType, ScoreIncidentType, ShowIncidentType:
... print(type)
... for incident in type.objects.all():
... print(' ', incident.id)
...
<class 'incidents.models.PerformanceIncidentType'>
crazy-dancers
innuendo
key-change
language-change
pyrotechnics
outfit-change
geometric-shapes
another-country
smoke-machine
strobes
rule-0
using-text
virtual-performer
wearing-colour
wind-machine
<class 'incidents.models.ScoreIncidentType'>
douze-points
milking-it
pregnant-pause
neighbours
<class 'incidents.models.ShowIncidentType'>
bad-joke
new-outfit
rainbow-flag
confetti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment