From 4041790e6feae57eb8ffae537ae11701c6c74ecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A1=D1=82=D0=B5=D0=BF=D0=B0=D0=BD=D0=B5=D0=BD=D0=BA?= =?UTF-8?q?=D0=BE=20=D0=9E=D0=BB=D1=8C=D0=B3=D0=B0?= Date: Thu, 6 May 2021 11:17:34 +0300 Subject: [PATCH] Spell new docs, create new README --- README.md | 9 ++++++++- docs/source/spelling_wordlist.txt | 1 + main/models.py | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8838171..4835b7e 100644 --- a/README.md +++ b/README.md @@ -152,11 +152,18 @@ docker run -d -p 8000:8000 \ pylint ../access_controller ## Для приведения файлов к стандарту PEP8 используем: -autopep8 --in-place +autopep8 --in-place filename ##Для проверки орфографии: cd docs + (set -a && source ../.env && make spelling) +##Для обновления документации: +m2r README.md + +cd docs + +(set -a && source ../.env && make html) ## Read more diff --git a/docs/source/spelling_wordlist.txt b/docs/source/spelling_wordlist.txt index ad71758..6292fea 100644 --- a/docs/source/spelling_wordlist.txt +++ b/docs/source/spelling_wordlist.txt @@ -189,4 +189,5 @@ place cd docs a +Аватарка diff --git a/main/models.py b/main/models.py index 6515fe5..ea3388a 100644 --- a/main/models.py +++ b/main/models.py @@ -112,6 +112,6 @@ class UnassignedTicket(models.Model): """ assignee = models.ForeignKey(to=User, on_delete=models.CASCADE, related_name='tickets', help_text='Пользователь, с которого снят тикет') - ticket_id = models.IntegerField(help_text='Номер тикера, для которого сняли ответственного') + ticket_id = models.IntegerField(help_text='Номер тикета, для которого сняли ответственного') status = models.IntegerField(choices=UnassignedTicketStatus.choices, default=UnassignedTicketStatus.UNASSIGNED, help_text='Статус тикета')