python - Django Migrations - how to insert just one model? -


i made mess in local django project , realized somehow i'm out of sync migrations. tried apply initial , realized of tables exist, tried --fake. made migration pass, i'm missing 1 table wanted add... how can prepare migration 1 model or make django re-discover database missing , create that?

i using models directory. adding import of model __init__.py allowed me control whether it's visible makemigrations or not. found using strace.


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -