workaround for South problems Do something like this in your model if you get bizarre errors:     if sys.argv[1] in ['schemamigration', 'migrate']:
        custom_attributes = ModelFormField()
    else:
        custom_attributes = ModelFormField(form)