How to re-generate tables in Django
<p>I'm new in Django. Here is how I do:
Create app by : python manager.py startap test
and I add serveral model, then execute:
python manager.py maiemigrations
python manager migrate</p>

<p>It will generate tables automatically. Then I dropped the table in database by:
drop table table_name</p>

<p>execute again:
python manager.py makemigrations
python manager.py migrate</p>

<p>but there is no table generated in database, and I got the message "no changes detected", how should I do to have these table? Please help me.</p>

<p>Delete all the migration file in your app's migrations directory. Then run </p>

<pre><code>python makemigrations your_app 
python miagrate
</code></pre>

python django