django-garnett
django-garnett copied to clipboard
Has to pass json type into fields after getting apps from migration directly
After getting apps from executor:
executor = MigrationExecutor(connection)
apps = executor.loader.project_state([migration file]).apps
Model = apps.get_model('..', '...')
I Have to pass json into translated field to create object. Otherwise, it will have errors saying 'isn't a valid json token'