/srv/irclogs.ubuntu.com/2012/12/28/#ubuntu-community-team.txt

jonomhall119, not sure if you are online00:32
jonobut if you are, any idea about http://stackoverflow.com/questions/14063023/how-can-i-display-items-on-django-form-based-on-data-in-a-table ?00:32
mhall119jono: it looks like you'd need to use formsets and some custom template programming00:48
mhall119the formset will let you make multiple Temp forms, and the custom template programming is needed to make the food field a label instead of a form element00:51
mhall119this is one of those areas where you'll be straying from the "super easy" path that Django provides00:51
mhall119jono: also, I love that the guy on stackoverflow is accusing you of cheating on your homework :)01:03
mhall119I'm so tempted to add a comment pretending to be your professor :)01:03
popeyoh that's brilliant01:15
bkerensaI'm certain in another life mhall119 was a Phd in Political Science with a love for botany :)01:30
jonomhall119, lol01:31
jonothanks mhall11901:31
mhall119jono: np, good luck01:33
mhall119bkerensa: I'm sure I'd get kicked out of any poli-sci program for arguing too much01:33
bkerensa:D01:34
jonomhall119, thanks01:47
jonoso based on the problem do you think I need to manually generate the form by iterating through the data?01:47
mhall119jono: I think you can make a TempFormSet, and give it a list of Temp objects, one for each of your Food records for your cook02:22
mhall119https://docs.djangoproject.com/en/dev/topics/forms/formsets/ for more info02:22
jonomhall119, yeah, reading through formsets02:22
jonothanks mhall11902:26
jonostill need to figure this out02:26
jonogotta run02:26
bkerensalooks like Linus gave a Redhat Kernel Maintainer a ear full https://lkml.org/lkml/2012/12/23/7502:39
bkerensa:s02:39
mhall119that seems a bit harsh02:42
mhall119and by a bit I mean overly and unreasonably02:42
=== hggdh_ is now known as hggdh
jussiits a little harsh, but still, he does have some valid points, even if he is rather, err, blunt...06:31
bkerensajussi: he does it a lot from what I gather07:27
mhall119w 4115:03
marcoceppiidk, he does have a point. Maybe being blunt was the way to best way to get those across?15:34
mhall119there's a difference between being blunt and being mean15:38
mhall119usually when caps-lock profanity comes into play, you've crossed that line15:38
cjohnstonIt wasn't caps-lock, it was a stuck shift key :-P15:39
=== jono is now known as Guest85130

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!