aboutsummaryrefslogtreecommitdiffstats
path: root/manage.py
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2019-09-26 16:30:12 +0200
committerGravatar Sebastiaan Zeeff <[email protected]>2019-09-26 16:36:47 +0200
commitce22f1e0a67f47aca48b5c548d7d1a544b9fe71d (patch)
tree1c1ecbe6349845e1c1e93220313ae2294afa7012 /manage.py
parentMigrate hidden warnings to notes (diff)
Reject unhidden note or hidden warning infraction
https://github.com/python-discord/site/issues/260 This commit adds validation steps to the InfractionSerializer to make sure that `"warning"` infractions can never be set with `hidden=True` and note infractions can never be set with `hidden=False` usng the API. This is the final step in decoupling "note" infractions and "warning" infractions. This commit implements the final part of and closes #260
Diffstat (limited to 'manage.py')
0 files changed, 0 insertions, 0 deletions