please confirm whether you register your app in INSTALL_APP in settings.py file.
python manage.py makemigrations <app_name>
python manage.py migrate <app_name>
python manage.py makemigrations <app_name>
python manage.py migrate <app_name>
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 files i also run migrate command and makemigrationHere is my code
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bb23d195-772b-4829-9a5c-75e02600e174%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment