Why is the route correct but still giving 404 error on Django
I got a 404 error on my website when accessing the correct route, did I do something wrong urls.py handles the main route from django.contrib import admin from django.urls import path,include,re_path urlpatterns = [ path(‘admin/’, admin.site.urls), re_path(r’api/facebook/(.+?)’, include(‘apifacebooks.urls’)), path(”, include(‘app.urls’)), path(‘getcookie’, include(‘app.urls’)), path(‘change-lang’, include(‘app.urls’)), re_path(r’auth/(.+?)’, include(‘app.urls’)), ] urls.py handles routes in the apifacebooks app from… Read More Why is the route correct but still giving 404 error on Django