On 7/21/07, Tim Chase <[EMAIL PROTECTED]> wrote:
>
> >> Is there a way to access the back-end's string-quoting mechanism?
> >
> > from django.db import backend
> > foo_quoted = backend.quote_name('foo')
>
> This seems to be (browsing the code) the table/field-name
> escaping mechanism, not the "escaping/quoting dangerous
> characters in a string so it can be put in a query" function.

Are you sure you're not looking for the 'params' argument to extra?
This will use the cursors string substitution, which should to the
escaping/quoting you are looking for (IIRC).

Yours,
Russ Magee %-)

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to