1👍
syncdb
will only create tables for models found in <app>.models
. Import the model class there if necessary.
1👍
did your new model was on a new apps ? in this case, don’t forget to add the new apps in INSTALLED_APPS settings…
in fact, django is absolutely not mysterious or magic.
- [Answered ]-Test Driven Development for REST API
- [Answered ]-Using Datepicker (from Jquery) in django
- [Answered ]-Read django data from model and write it using xlsxwriter
Source:stackexchange.com