I am trying to set up links inside a tags, and when I do this procedure as seen in the code, it gives me the error:
TypeError at / 'str' object is not a mapping
It use to work fine but then decided not to
template code:
<a class="item" href="{% url 'home' %}">
urls code:
urlpatterns = [
path('admin/', include('admin_llda.urls') ),
path('about/', views.about, name = 'about'),
path('dashboard/',views.dashboard, name = 'dashboard'),
path('',views.homepage, name = 'home')
]