Hugo Osvaldo Barrera
unread,Oct 19, 2015, 12:58:23 AM10/19/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
I'm having a rather confusing scenario regarding makemigrations and
language_code:
* I've an app (let's call it myapp) which I'm developing.
* myapp relies on the another app (let's call it libapp).
* myapp has language_code set to "es-ar".
* libapp was developed separately, and has been installed via pip.
While developing myapp, whenever I run "makemigrations" a migrations is
also created for libapp. The migrations updates all the verbose_name and
help_text fields and nothing else. I don't want this, especially since
it creates a conflict in the migration graph when I later upgrade
libapp.
How can I have makemigrations *ignore* the language_code?
Also, why does makemigrations create this migration for libapp, but not
an equivalent one for django.contrib.admin?
I tried looking at things like the admin to see how they avoid this, and
found no clues.
Thanks,
--
Hugo Osvaldo Barrera