Hi, If is defined "db_table" in Meta class of a model, that you are using by through, the migrations create the table with original name, dosen't respect the db_table attribute defined on through model.
Instead of create table name "myapp_mychoicename" it create "myapp_test_company_related". class Test(models.Model): company_related = models.ManyToManyField(Company, verbose_name='xxxxxx', related_name='xxxxxxx', through='TestCompany') class TestCompany(models.Model): test = models.ForeignKey(Test) company = models.ForeignKey(Company) class Meta: auto_created = Test db_table = 'myapp_mychoicename' -- Enviado via UCSMail. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/3d9fd215-b7a9-4e26-92b5-e50038fb6c15%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.