1π
The base URL for Fang-of-Mongo is:
(r'^fangofmongo/', include('fangofmongo.fom.urls')),
This means that you will need to navigate to http://127.0.0.1:8000/fangofmongo
.
There is no base URL http://127.0.0.1:8000/
defined β so it will 404.
EDIT: Also Fang-of-Mongo appears to have gone 3 years, at least on Github, without an update β so you will most likely encounter other issues with the project running on Django 1.4.3.
π€Dan Hoerst
0π
Make sure you imported the include function in the urls.py, else add "from django.urls import include"
Here is how to Include another URLconf (in urls.py file)
Including another URLconf
1. Import the include() function: from django.urls import include, path
2. Add a URL to urlpatterns: path('blog/', include('blog.urls'))
π€Van Victor
- [Answer]-Registering user information to various django models
- [Answer]-Adding number and Symbols in Django
- [Answer]-How to assign the User object to save method in Django
- [Answer]-Download a file in the browser
Source:stackexchange.com