Dnia 11-02-2011 o 19:36:16 Piotr Zalewa napisaĆ(a):
I would use signals for that purpose
On 11-02-11 10:18, bagheera wrote:
Hi, i would like to perform validation on m2m field to control, if user
made any changes. I'd like to disallow removing relations from m2m
field, only adding them.
I would use signals for that purpose
On 11-02-11 10:18, bagheera wrote:
Hi, i would like to perform validation on m2m field to control, if
user made any changes. I'd like to disallow removing relations from
m2m field, only adding them.
example:
model Product(models.Model):
name = models.
Hi, i would like to perform validation on m2m field to control, if user
made any changes. I'd like to disallow removing relations from m2m field,
only adding them.
example:
model Product(models.Model):
name = models.TextField()
model Order(models.Model):
products = models.Man
3 matches
Mail list logo