Why does Django make migrations for help_text and verbose_name changes?

后端 未结 8 2288
情深已故
情深已故 2020-12-15 15:00

When I change help_text or verbose_name for any of my model fields and run python manage.py makemigrations, it detects these changes a

8条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-15 15:43

    From Django 2.X, using ugettext_lazy instead of ugettext or gettext fixes it.

提交回复
热议问题