[Fixed]-Getting a 404 error when running my Django server for site

1👍

Can you access http://localhost:8001/admin/ ?

If yes, then the issue simply is that you haven’t defined a URL entry for the root http://localhost:8001/

Something like:

url(r'^$', views.index, name='index'),

should do the trick.

Don’t forget to define index in views.py

👤Sam

Leave a comment