Код: Выделить всё
from django.contrib import admin
from django.urls import include, path
urlpatterns = [
path('custom_regions/', include("some\\absolute\\path\\placeholder.urls")),
path('admin/', admin.site.urls),
]
Код: Выделить всё
from django.urls import path
from . import views
urlpatterns = [
path('', views.index, name = 'index'),
]
Подробнее здесь: https://stackoverflow.com/questions/788 ... -not-found