TypeError: view must be a callable or a list/tuple in the case of include().
также вот код на
urls.py
from django import urls
from django.contrib import admin
from django.urls import path, include
app_name = 'learning_logs'
urlpatterns = [
path('admin/', admin.site.urls),
path('',('learning_logs.urls')),]
from django.urls import path
from learning_logs.views import views
urlpatterns = [
path('',views.index,name = 'index'),
path('topics/',views.topics, name='topics'),
path('topics/<int:topic_id>/',views.topic,name = 'topic'),
]