Re: label_tag in queryset

2011-02-24 Thread Greg Corey
me know. But it seems to work quite well. Greg On Thu, Feb 24, 2011 at 9:15 AM, Greg Corey wrote: > Pardon the continued confusion, but the problem is that I don't know how to > access the model field to get it's associated label like I can when > rendering a form. I don'

Re: label_tag in queryset

2011-02-24 Thread Greg Corey
he label, I can change it in the model and then I don't have to worry about my templates because they just reference the model (DRY). Thanks for you help. Greg On Wed, Feb 23, 2011 at 5:22 PM, Mike Ramirez wrote: > On Wednesday, February 23, 2011 04:16:51 pm Greg Corey wrote: > >

Re: label_tag in queryset

2011-02-23 Thread Greg Corey
Thanks for your reply. One question. > make sure to reference the model field you want as the label if 'Requester' > isn't it. > Not sure what you mean by this. Do you just mean manually change 'Requester' to whatever I want, or that I really can reference the model field to get the label? Greg

Re: Empty [] using objects.all() on legacy database

2009-06-23 Thread Greg Corey
hes wrote: > >> >> On Mon, Jun 22, 2009 at 12:52 PM, Greg Corey wrote: >> > Karen, the double % ( i.e. 'discount%%') worked. Is this a big enough >> bug >> > that it should be reported? I'm not sure what is a bug and what is just >> my &g

Re: Empty [] using objects.all() on legacy database

2009-06-22 Thread Greg Corey
I figured it wasn't a bug and I just had to do the right escape sequence, but Karen mentioned that it might be a bug. Guess not. Hope this helps someone else in the future. Greg On Mon, Jun 22, 2009 at 12:19 PM, Erik Vorhes wrote: > > On Mon, Jun 22, 2009 at 12:52 PM, Greg

Re: Empty [] using objects.all() on legacy database

2009-06-22 Thread Greg Corey
Karen, the double % ( i.e. 'discount%%') worked. Is this a big enough bug that it should be reported? I'm not sure what is a bug and what is just my ignorance. Thank you sooo much for the help. Greg On Fri, Jun 19, 2009 at 8:09 PM, Greg Corey wrote: > I will try that tomorro

Re: Empty [] using objects.all() on legacy database

2009-06-19 Thread Greg Corey
I will try that tomorrow and let you know. The DB is an old Microsoft Access database that was then migrated to MySQL. It was designed by a definite novice so it has quirks, but it still pumps along. It is a DB of testing results for our small laboratory. Greg On Fri, Jun 19, 2009 at 8:00 PM, Ka