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
Post a Comment