hello django boys,

i hope someone here can help me. i have a problem with django e oracle.
above the code with problem:

insert = """insert into modello (title, descrizione, url, prezzo, sconto) values (:title, :descrizione, :url, :prezzo, :sconto)"""
 try:
self.c.execute(insert,{'title':item['title'], 'descrizione':item['descrizione'], 'url':item['url'], 'prezzo':['prezzo'], 'sconto':item['sconto']})

when try this code the system report this error:
ORA-01484:arrays can only be bound to PL/SQL statement

** any items is a list of different values for title,descrizione etc etc

thanks
marco


     /////
     /
     
<http://www.google.com/url?sa=t&rct=j&q=ora-01484%3A%20arrays%20can%20only%20be%20bound%20to%20pl%2Fsql%20statements&source=web&cd=1&ved=0CCcQFjAA&url=http%3A%2F%2Fora-01484.ora-code.com%2F&ei=LqKbT4PbDoPdtAbVhqmHAQ&usg=AFQjCNGmLIM2XH2DAEF090ZzYaGRQWx9RA&cad=rja>


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to [email protected].
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