ManytoManyField refuses to show up when I syncdb

18 views
Skip to first unread message

willy Hakizimana

unread,
Mar 29, 2014, 3:17:31 PM3/29/14
to django...@googlegroups.com
when I syncdb and use south schemamigration, I still can't get the ManyToManyField to show up.
what am I doing wrong. Any parameters I can pass to make it work?

Thank you guys


class Products(models.Model):

    #product_id = models.AutoField(primary_key=True)
    hs_number = models.CharField(primary_key=True, max_length=6)
    product_description = models.ManyToManyField(Countries, through='Imports')
Reply all
Reply to author
Forward
0 new messages