Opened 16 years ago
Closed 16 years ago
#9681 closed (duplicate)
Unable to load initial data with strings contained two dashes ('--')
Description ¶
This line in django.core.management.sql make it impossible to add initial data with strings contained two dashes.
statement = re.sub(ur"--.*([\n\Z]|$)", "", statement)
Maybe some kind of shebang string within .sql file to disable this regexp can help?
Note:
See TracTickets
for help on using tickets.
Dupe of #4680.