Open markfinger opened 7 years ago
If you try to redirect a dumpdata command to a file, the # BASE_SETTINGS_MODULE... line will be prepended. This breaks all JSON parsing.
# BASE_SETTINGS_MODULE...
I'd recommend either removing it all together or only emitting it for white-listed management commands.
If you try to redirect a dumpdata command to a file, the
# BASE_SETTINGS_MODULE...
line will be prepended. This breaks all JSON parsing.I'd recommend either removing it all together or only emitting it for white-listed management commands.