Я продолжаю получать NoReverseMatch в / error, когда я запускаю свой проект
здесь уровень приложения url.py
from django.urls import path
from . import views
from justproduceit_project import settings
from django.contrib.staticfiles.urls import static
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
app_name = 'create'
urlpatterns = [
path('equipment_categories/', views.EquipmentCategoriesListView.as_view(), name='equipment_categories'),
path('rent_equipment/', views.EquipmentListView.as_view(), name='equipment_home_page'),
path('equipment/<slug>/', views.EquipmentDetailView.as_view(), name='equipment_detail'),
path('add_to_cart/<slug>/', views.add_to_cart, name='add_to_cart'),
path('remove_from_cart/<slug>/', views.remove_from_cart, name='remove_from_cart'),
path('checkout/', views.checkout, name='checkout'),
path('hire_a_crew/', views.CrewListView.as_view(), name='hire_a_crew'),
path('start_a_project/', views.ProjectListView.as_view(), name='start_a_project'),
]
здесь уровень настроек urls.py
from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('', include('pages.urls')),
path('learn/', include('learn.urls')),
path('create/', include('create.urls', namespace='create')),
path('admin/', admin.site.urls),
path('accounts/', include('allauth.urls')),
]
вот шаблон, который выдает ошибку
<div class="dropdown-menu col-lg-12 text-center" aria-labelledby="dropdownMenuLink">
<h6 class="dropdown-header"><b>Hire a</b></h6>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="{% url 'hire_a_crew' %}">Crew</a>
<a class="dropdown-item" href="#">Director</a>
<a class="dropdown-item" href="#">Producer</a>
<a class="dropdown-item" href="#">Writer</a>
<a class="dropdown-item" href="#">Cinematographer</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="{% url 'equipment_home_page' %}" role="button">Rent equipment</a>
<a class="dropdown-item" href="{% url 'start_a_project' %}" role="button">Start a project</a>
</div>