I am doing Cs50web course and working on a project using Django. So, I have created a path in urls.py of application and It has two request Get and PostIt's a form page. Where you can add the Title, Content and a button to save:
On encyclopedia/newpage as get request page get's open and on http:///encyclopedia/newpage url as a post request page get saved. However, When page is open in the browser as http://127.0.0.1:80000/encyclopedia/newpage by clicksave button the url becomes http://127.0.0.1:80000/encyclopedia/newpage/newpage and shows an error.
The problem in browser example:post request after clicking save button, instead of loading newpage it ads another newpage/newpage and shows an Error



