[patch] make 'manage.py syncdb' not wait for user input
|Reported by:||medhat||Owned by:||adrian|
|Component:||Core (Management commands)||Version:||master|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
This will be mainly useful for developers who are constantly changing their model and rebuilding the database.
When doing the development I use sqlite, and I have a batch file that I run to delete the database and then run 'manage.py syncdb' to recreate the model with all the changes that I have done. It will be nicer if syncdb does not ask for user input (right now it asks for a user to create.) Maybe it should read its input from some configuration file (settings.py is a good candidate.) Along with this, it will be also nice if instead of just creating 'example.com' it would read the site name from settings.py also.
Change History (6)
Changed 10 years ago by medhat
comment:2 Changed 10 years ago by medhat
- Summary changed from make 'manage.py syncdb' not wait for user input to [patch] make 'manage.py syncdb' not wait for user input
comment:3 Changed 10 years ago by adrian
- Resolution set to wontfix
- Status changed from new to closed