I have a file db_table.py that looks like: When I try to run: I get: I tried first manually setting FLASK_APP var, by doing set FLASK_APP=app.py then running flask db init again, but that didn’t resolve the issue. Answer The flask command line argument needs to know what module to locate the current Flask app instance in. Set FLASK_APP as
Tag: database-migration
How do I merge two django db’s?
I have two instances of the same Django app. I need to merge the data in these DBs to one DB. I considered Natural Key fixtures, but I have many objects whose natural key involves fields from a related model, so they are not being serialized when I am serializing using natural keys. For example This account’s fixture: (notice it