aboutsummaryrefslogtreecommitdiffstats
path: root/Pipfile
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2019-12-19 13:36:08 -0800
committerGravatar MarkKoz <[email protected]>2019-12-19 13:36:08 -0800
commit438e947d7edaf1f9dfa10bea0a2adf20e0ebbc9f (patch)
tree5a5e5cfb38044ea8e2716dd654bad38af2415419 /Pipfile
parentOutput errors more clearly for infraction serializer test failures (diff)
Remove default value from the active field of infractions
Due to the active field being specified in the UniqueTogetherValidator, the field is implicitly required. Typically default values are excluded from this restriction but in this case some infraction types must always be False. It's easier and makes more sense to require the active field explicitly rather than to write logic in the serializer which is conditional on the type of infractions.
Diffstat (limited to 'Pipfile')
0 files changed, 0 insertions, 0 deletions