Re: creating models but its not showing in db

2017-01-31 Thread rajanmandanka
please confirm whether you register your app in INSTALL_APP in settings.py file. python manage.py makemigrations python manage.py migrate On Tuesday, January 31, 2017 at 9:38:34 PM UTC+5:30, Kazi Atik wrote: > > Hi i am creating a table in my model but its not showing in my sqlite.db >

Re: creating models but its not showing in db

2017-01-31 Thread Александр Христюхин (roboslone)
Did you run makemigrations first and then migrate? Also, do you have any instances of your model? > On 31 Jan 2017, at 19:08, Kazi Atik wrote: > > Hi i am creating a table in my model but its not showing in my sqlite.db > files i also run migrate command and

creating models but its not showing in db

2017-01-31 Thread Kazi Atik
Hi i am creating a table in my model but its not showing in my sqlite.db files i also run migrate command and makemigration Here is my code from django.db import models