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 <gregco...@gmail.com> wrote: > 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, Karen Tracey <kmtra...@gmail.com> wrote: > >> On Fri, Jun 19, 2009 at 4:41 PM, geraldcor <gregco...@gmail.com> wrote: >> >>> >>> Ok, so I feel a bit silly, but it was because I had a column name in >>> my db called Discount% and I am assuming the % is screwing it up. >>> >>> Now the question becomes how do I escape the % or do I have to rename >>> my db column (please god not the latter as that would entail a whole >>> mess of rewriting stuff). I already tried some unicode stuff but I'm >>> fairly untrained in that area. Any ideas? >>> >> >> Interesting. Try doubling the % when you specify it in db_column. I >> rather think you shouldn't need to do that, though, so this may be a bug in >> Django. BTW, what DB? >> >> Karen >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---