mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
Fixed typo in docs/internals/contributing/writing-code/coding-style.txt.
This commit is contained in:
parent
d79fba7d8e
commit
aaffbabd58
@ -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``
|
||||
===============================
|
||||
|
Loading…
Reference in New Issue
Block a user