From the Django Book example, I understand that I create models as follows:
from xxx import B class A(models.Model): b = ManyToManyField(B)
Django will create a new table (A_B) outside of table A, which has three columns:
But now I want to add a new column to table A_B, so it would be very easy if I used plain SQL, but now can anyone help me how to do this? I can not find useful information in this book.
python django many-to-many
Wei Lin Sep 24 '12 at 14:33 2012-09-24 14:33
source share