Re: New user - struggling with database design

2014-08-28 Thread Jason G
Ok - here is where I am stuck now. Any thoughts? If I try to render {{ vessel.CurrentBrew }} in a view, I get something like this: and this errors out: {% for Brew in vessel.CurrentBrew.all %}X{{ Brew.ActualName }}{% endfor %} (1146, "Table 'dbLunawireBrewing.brewlog_vessel_CurrentBrew' does

Re: New user - struggling with database design

2014-08-28 Thread Jason G
Hi Gerald - thanks for the quick reply! Turns out it was just an issue with quotes...not sure I am doing it right just yet, but at least I've passed the error. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group

New user - struggling with database design

2014-08-28 Thread Jason G
Hi all, I am building an app to track my home brewing. I have two tables, one for vessels, and another for brews. I want the Brew table to have a pick-list, relation to Vessels so I can say what vessel the brew is in. I also want to render a table that shows all Vessels and what Brew is in ea