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='Статус тикета')