Changes between Initial Version and Version 2 of Ticket #2119
- Timestamp:
- Jun 7, 2006, 11:30:04 PM (18 years ago)
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 1 1 The 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: 2 2 3 {{{ 3 4 Index: management.py 4 5 =================================================================== … … 21 22 22 23 return output 24 }}}