I have not dug into the code much, but I did find this:

     def get_db_prep_save(self, value):
         # Casts dates into string format for entry into database.
         if value is not None:
             value = value.strftime('%Y-%m-%d')
         return Field.get_db_prep_save(self, value)

And it made me wonder:

What is djagoo's approach to passing values to the back end:

A) create a string that is the SQL command and the values, pass that string to 
the db module.

B) create a string that is the SQL command with parameter markers, pass that 
string and the values to the db module.

I am guessing is is A, but I don't want to jump.  Also, it could be that the 
intent is B, but A happened anyway.

Carl K

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" 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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to