Re: perhap buys in autodetector.py

2018-04-19 Thread Zheng Gu
Yes, you are right, I removed all migrations folder, include any files in it(such as 0001_initial.py), and as you said, I have to run "makemigrations app_name" to generate new codes. To avoid these tedious work, I made a change: [questioner.py:42] return self.defaults.get("ask_initial", False) ==>

Re: perhap buys in autodetector.py

2018-04-19 Thread Tim Graham
When you say, "remove all previous migration codes" -- you mean you removed all the migration files such as 0001_initial.py? In that case, make sure you don't remove the __init__.py file, otherwise you must use "makemigrations app_name". On Thursday, April 19, 2018 at 7:18:02 AM UTC-4, guzheng2