Fullchee Zhangfullchee.hashnode.dev·Oct 2, 2023Use strings, not constants in Django migrations# migrations/0001_my_migration.py from my_file import MY_CONSTANT MyModel.objects.get_or_create(name=MY_CONSTANT) # migrations/0001_my_migration.py MyModel.objects.get_or_create(name="my-constant") Why value of LOCALIZATION.BUNDLE__SYNC could cha...TILAdd a thoughtful commentNo comments yetBe the first to start the conversation.