Python Forum

Full Version: Python django view error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, Dear Members,
I am a new learner of Python, and during the Django library, the error has occurred while importing the views command, so, no (python manage.py makemigrations[ModuleNotFoundError: No module named 'a.urls']) does not work.
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!