Kenneth Gonsalves skrev:
> hi,
>
> I have a view that takes a sentence in unicode from a database,  
> splits it into words and dumps those words in the Word table. The  
> 'word' in word table is unique, and it is expected that duplicates be  
> rejected, so I put 'save()' within a try-except statement. If my view  
> does one record at a time - it works perfectly. If I try to loop  
> through all the records, I get a ProgrammingError complaining of  
> improper formatting - but am unable to find out where exactly the  
> formatting is improper. If I put this function in the 'save' method  
> of the model - I get the same error. 

This is an instance of the problem described here:

http://code.djangoproject.com/ticket/5043

You may be able to get around this by using manual transaction handling.

I see now that someone requested that I start a thread on django-dev
about the issue ... will do so when time permits.
 

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