Change conf using github snippet

This commit is contained in:
Степаненко Ольга 2021-03-01 21:18:27 +03:00
parent cd50427532
commit a64e641a33
2 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,7 @@ def process_django_models(app, what, name, obj, options, lines):
lines.append(':type %s: %s.%s' % (field.attname, module, field_type.__name__))
if enchant is not None:
lines += spelling_white_list
print('ok')
return lines

View File

@ -15,6 +15,7 @@ class UserProfile(models.Model):
:type image: :class:`img`
:param name: Имя пользователя на нашем сайте
:type name: :class:`str`
"""
user = models.OneToOneField(to=User, on_delete=models.CASCADE)