Ticket #698 (closed defect: fixed)
using schemamigration --add-field fails with cryptic message
|Reported by:||woolford.thomas@…||Owned by:||andrew|
while trying to use "--add-field myfield" schemamigration failed with cryptic traceback module_name referenced before assignment.
traced back to line 407 in creator/changes.py prints an error message but this is lost above the traceback.
instead of print this message, throw the message in the traceback so that it's visible and the code doesn't continue to execute past an error condition.