The only thing that comes to mind is a paragraph in the 1.8 release notes, "When the leave_locale_alone <https://docs.djangoproject.com/en/1.9/howto/custom-management-commands/#django.core.management.BaseCommand.leave_locale_alone> attribute is False, translations are now deactivated instead of forcing the “en-us” locale. In the case your models contained non-English strings and you counted on English translations to be activated in management commands, this will not happen any longer. It might be that new database migrations are generated (once) after migrating to 1.8." but you said you upgraded from 1.8 to 1.9, so I guess it isn't relevant.
If you could bisect Django's commit history to find where the behavior changed, that might yield some insight. On Saturday, February 13, 2016 at 8:35:52 AM UTC-5, Marco Badan wrote: > > Hello, > I've upgraded a project to Django 1.9. > > I've: > LANGUAGE_CODE = 'it' > LANGUAGES = (('it', 'Italian'),) > > With Django 1.8 after running makemigrations I got the no changes > detected message. > > On 1.9 makemigrations creates migrations for all of my apps and all third > party apps. > > I had a look at the new migration files and I've a lot of > AlterModelOptions and AlterField. > The relevant changes are on verbose_name and verbose_name_plural: > With 1.8 I had untranslated strings (English), with 1.9 I've the > translated strings in Italian. > > (...) > > operations = [ > migrations.AlterModelOptions( > name='category', > options={'verbose_name': 'categoria', 'verbose_name_plural': > 'categorie'}, > ), > migrations.AlterField( > model_name='category', > name='description', > field=models.TextField(verbose_name='descrizione'), > ), > > (...) > > ] > > How can I avoid this behaviour? > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5ea289a6-58ba-4ff1-af38-422c6af0eeb7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.