I created a a small website using django. I can host it locally and can interact all the buttons like sign up page and login page. but when my friend tried to run project then they can able to start django server but can’t able to interact with sign up page and login page! He can see the server syntax on html page like {% csrf_token %}.
Please help!!!!!!!!!!!!!!!!
2
Answers
Try to run migrations and collects static files… Make sure he has all the files and dependencies installed on his environment..
It seems like he is trying to open the site by opening login.html.
Django does not work that way.
Tell him to access the site at
http://127.0.0.1:8000/
or the relevant URL. Notname.html
files.