Re: Trying to figure out ManyToManyField on a legacy database

2013-05-11 Thread brian
Thanks Kevin, that did the trick. This is going to be an interesting project. There are 3 different database types with DJ's song info involved. Each DJ has their private database. Can I have different models, and have a way to link the different DJ's databases to the correct model for their da

Re: Trying to figure out ManyToManyField on a legacy database

2013-05-11 Thread kevin
Hi Brian, It seems like you don't really have an Many To Many relationship between your "Song" and "Played" objects. I can see how you would have multiple plays for one song, but considering that the Played model has a track_id, would you ever have multiple songs for a single Play?It appea

Trying to figure out ManyToManyField on a legacy database

2013-05-11 Thread Brian Millham
Hi all, I'm just trying to learn Django. I have an existing site that I wrote in PHP, and I'l considering converting it to Django, I have a legacy database that I don't want to make any changes to. I have the basics working in Django, but am having a problem with a ManyToManyField. Here are th