Spell new docs, create new README

This commit is contained in:
Степаненко Ольга 2021-05-06 11:17:34 +03:00
parent 010dff2f9d
commit 4041790e6f
3 changed files with 10 additions and 2 deletions

View File

@ -152,11 +152,18 @@ docker run -d -p 8000:8000 \
pylint ../access_controller
## Для приведения файлов к стандарту PEP8 используем:
autopep8 --in-place <filename>
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

View File

@ -189,4 +189,5 @@ place
cd
docs
a
Аватарка

View File

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