Skip to content

Commit

Permalink
Fixed typo in docs/internals/contributing/writing-code/coding-style.txt.
Browse files Browse the repository at this point in the history
  • Loading branch information
heka1024 authored Feb 8, 2024
1 parent d79fba7 commit aaffbab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/internals/contributing/writing-code/coding-style.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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``
===============================
Expand Down

0 comments on commit aaffbab

Please sign in to comment.