Re: New user - struggling with database design

2014-09-02 Thread Derek
That looks like a database error - check in your database as to which tables have been created. On Thursday, 28 August 2014 18:05:01 UTC+2, Jason G wrote: > > 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:

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

Re: New user - struggling with database design

2014-08-28 Thread Gerald Klein
their order if I am understanding you right does not effect this, the last part is just a join between the tables, you don't have to create another table On Thu, Aug 28, 2014 at 8:46 AM, Jason G wrote: > Hi all, > > I am building an app to track my home brewing. > > I have two tables, one for