Re: django something wrong with many to many relationship

2006-11-30 Thread gregor
thanks man I find error, I forget pass joined attribute. Thanks Again --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To

Re: django something wrong with many to many relationship

2006-11-30 Thread Victor Ng
Your error is in your logs: ProgrammingError: ERROR: null value in column "age" violates not-null constraint You need to specify an age value, or define age=models.IntegerField(null=True) vic On 11/30/06, gregor <[EMAIL PROTECTED]> wrote: > > Hello i have manytomany relations (database

django something wrong with many to many relationship

2006-11-30 Thread gregor
Hello i have manytomany relations (database PostgreSql 8.1.5) like this: class Photograph(models.Model): name = models.CharField(maxlength=200) email = models.EmailField() age = models.IntegerField() categories = models.ManyToManyField(Category) joined =