Re: django model problem

2009-04-04 Thread Mark
> > Anyway, since I don't have time to actually install and configure Django > to experiment, I'd suggest you post a query on the django-users mailing > list, at http://groups.google.com/group/django-users Yes, that's what I did - it seems my problem is either a tough one, or it's just impossi

Re: django model problem

2009-04-04 Thread Dave Angel
Mark wrote: I think the first thing you need to do is decide if there is going to be more than one Musician object. and more than one Album object. Presently you are giving all musicians the same first_name and last_name. I suggest you look up the documentation for the special method __init_

Re: django model problem

2009-04-03 Thread Mark
> I think the first thing you need to do is decide if there is going to be > more than one Musician object. and more than one Album object. > Presently you are giving all musicians the same first_name and > last_name. I suggest you look up the documentation for the special > method __init__()

Re: django model problem

2009-04-03 Thread Dave Angel
Mark wrote: Hi, Say I have these simple models: class Musician(models.Model): first_name = models.CharField(max_length=50) last_name = models.CharField(max_length=50) class Album(models.Model): artist = models.ForeignKey(Musician) name = models.CharField(max_length=100) I t