Ticket #2015: syncdb_sql-initial-data_allow-empty-string.patch

File syncdb_sql-initial-data_allow-empty-string.patch, 677 bytes (added by anonymous, 18 years ago)
  • django/core/management.py

     
    334334        r"""(           # each statement is...
    335335        (?:             # one or more chunks of ...
    336336            (?:[^;'"]+) # not the end of a statement or start of a quote
    337           | (?:'[^']+') # something in single quotes
    338           | (?:"[^"]+") # something in double quotes
     337          | (?:'[^']*') # something in single quotes
     338          | (?:"[^"]*") # something in double quotes
    339339        )+)""", re.VERBOSE)
    340340
    341341    # Find custom SQL, if it's available.
Back to Top