Saturday, March 29, 2014

ManytoManyField refuses to show up when I syncdb

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')

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
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment