Ticket #275 (closed defect: fixed)
restrict migration names to be valid module names
|Reported by:||stefanfoulis||Owned by:||andrew|
migration names can contain nearly any character. this can result in migration filenames like:
"0005_model X: added null = True to stuff.py"
On most filesystems this will work fine. But on windows ":" and "?" are not allowed in filenames. Also these are invalid python module names (only alphanumerics, numbers and "_" are allowed)
South should prevent migration names that create invalid python module names.
For usability south could automatically replace spaces and dashes with underscores.