python - how can i make a consult in oracle with django, using date in where clause -


i need make consult in oracle using django.

i making raw consults, because need it.

the problem after de clause, im goint put code after clause. in oraclesqldevelopment works, when put django doesn`t work.

' mov.instante>='20/04/2015 00:00:00.00' , mov.resolucion=2 '

i allready tried insert "\" or triple"""

' mov.instante>=\'20/04/2015 00:00:00.00\' , mov.resolucion=2 '

or

"""... mov.instante>='20/04/2015 00:00:00.00' , mov.resolucion=2 """

when print query, result is:

where mov.instante>='20/04/2015 00:00:00.00' , mov.resolucion=2

and django returns exception unexpected error:


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

html - href attribute breaking an element -

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -