Mar-18-2024, 03:14 PM
Hi
Open cmd and type
step - 1: python manage.py makemigrations (click enter)
step - 2: python manage.py migrate (click enter)
step -3 : python manage.py runserver
In files you should do the above operation when you create DB table in models.py file
I hope this will help you!
Happy learning!
Open cmd and type
step - 1: python manage.py makemigrations (click enter)
step - 2: python manage.py migrate (click enter)
step -3 : python manage.py runserver
In files you should do the above operation when you create DB table in models.py file
I hope this will help you!
Happy learning!