22 Nov 2022 by Richard MacCutchan
Add a default parameter to the name field in your Author class thus: name = models.CharField(verbose_name='Имя автора', default='no name', max_length=200, validators=[validators.RegexValidator(regex='^.*em$', message='Wrong')])