diff --git a/docs/internals/contributing/writing-code/coding-style.txt b/docs/internals/contributing/writing-code/coding-style.txt index 49b69bf066f..8c08e7e259e 100644 --- a/docs/internals/contributing/writing-code/coding-style.txt +++ b/docs/internals/contributing/writing-code/coding-style.txt @@ -310,8 +310,8 @@ Model style class MyModel(models.Model): class Direction(models.TextChoices): - UP = U, "Up" - DOWN = D, "Down" + UP = "U", "Up" + DOWN = "D", "Down" Use of ``django.conf.settings`` ===============================