Changes between Initial Version and Version 2 of Ticket #2119


Ignore:
Timestamp:
Jun 7, 2006, 11:30:04 PM (18 years ago)
Author:
Adrian Holovaty
Comment:

(Fixed formatting in description.)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2119

    • Property Summary get_sql_initial_data_for_model can't handle quoted quotes[patch] get_sql_initial_data_for_model can't handle quoted quotes
  • Ticket #2119 – Description

    initial v2  
    11The RE in get_sql_initial_data_model can't parse data of the form 'Susan O\'Brien' properly (it ends up generating invalid SQL), so I've taken the approach of simply splitting the initial data into separate SQL statements where ";[ \t]*$" occurs (i.e. a ; at the end of line). [This definition of a statement probably needs to be documented.] Here is the svn diff of the change:
    22
     3{{{
    34Index: management.py
    45===================================================================
     
    2122 
    2223     return output
     24}}}
Back to Top