Well, you're right that going with a standard model with two
ForeignKeys will lose some of the nice functionality associated with
Django's ManyToMany field. That's just a fact of life at this point,
I'm afraid. :( And no, Django doesn't create a separate class for the
m2m table, it just keeps trac
Ok, so I've done some reading up on this but I'm still unsure how
exactly I can get around this. Right now it seems that I have two
options, I can either manually create my own ManyToMany relationship
table like so:
class Product(models.Model):
name = models.CharField(max_length=255)
clas
On 10/11/07, TopRamen <[EMAIL PROTECTED]> wrote:
>
> Gentlemen, I'm new to the Django seen and am currently working on my
> first application in it. In part of my model, I have a ManyToMany
> relationship between the Purchase class and the Product class. The
> ManyToMany relationship is called pro
Gentlemen, I'm new to the Django seen and am currently working on my
first application in it. In part of my model, I have a ManyToMany
relationship between the Purchase class and the Product class. The
ManyToMany relationship is called products and is in the Purchase
class. I'd like to add some ad
4 matches
Mail list logo