Re: Help with One-to-Many Models

2007-09-05 Thread JimT
Jake, Well that gets me part way there. I wasn't clear that I DO want the hours to display in the business detail in the admin area but only the hours related to this particular business. The hours now show up in my template but again, all the hours show up, not just the records related to this

Re: Help with One-to-Many Models

2007-09-04 Thread jake
hi jim, JimT wrote: > The way my models are below (abbreviated for clarity) the hours don't > show up in the business detail of the "Businesses" section in the > admin application but the hours do show in the "Hours" section of the > admin application. if this isn't the behavior you want, you ca

Help with One-to-Many Models

2007-09-04 Thread JimT
Here's a brief description of what I'm trying to do: I have a database of businesses and I want to let the business owners enter their hours of operation. In order to normalize the display of the hours I've decided to have owners enter hours for each day. This represents a one (business) to many