Ticket #2015: syncdb_sql-initial-data_allow-empty-string.patch
File syncdb_sql-initial-data_allow-empty-string.patch, 677 bytes (added by , 18 years ago) |
---|
-
django/core/management.py
334 334 r"""( # each statement is... 335 335 (?: # one or more chunks of ... 336 336 (?:[^;'"]+) # not the end of a statement or start of a quote 337 | (?:'[^'] +') # something in single quotes338 | (?:"[^"] +") # something in double quotes337 | (?:'[^']*') # something in single quotes 338 | (?:"[^"]*") # something in double quotes 339 339 )+)""", re.VERBOSE) 340 340 341 341 # Find custom SQL, if it's available.