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
-~----------~----~----~----~------~----~------~--~---

Reply via email to