Dear Sébastien
Thankyou for your enlightment
I really appreciate it
Sincerely
-bino-
On 09/30/2011 03:34 PM, BILLION Sébastien wrote:
Hi,
You must add a ManyToManyField in your models
https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ManyToManyField
...
--
You
Hi,
You must add a ManyToManyField in your models
https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ManyToManyField
class Person(models.Model):
name = models.Charfield(max_lenght=200)
colours = models.ManyToManyField(Color)
class Color(models.Model):
name = models.C
Dear All ..
Let's say I have 2 model in manyTOmany relation, i.e : Persons and colours
I want a 2 CRUD interface for this , that is :
1. Persons : where I can add colours to each person, and
2. Colours : where I can add Persons to each colour
I also want the "ADD" methode (Add colours to perso
3 matches
Mail list logo