on running server browser show I am trying to save the the data into database on submitting the form the browser show page not found error and and some wrong address. http://127.0.0.1:8000/register/register while i am rendering the homepage on submitting the form. views.py file urls.py file Answer try path(‘register/register’,views.register),
Tag: web-deployment
Django Web App running on local Debian 10 but failing on Azure
I can run my web app on my local machine – no errors. But when porting the directory strcture to Azure, I get the ModuleNotFoundError: No module named ‘django’. Here is what I did: My app is publicly available on GitHub. The app runs in a virtual environment (called deploydjango). That is reflected in the tree structure of the repo.