i am using django 3.0 with python 3.8. i am new to coding. below is my project hierarchy.i want to connect my "home" page to next html "teoco" page by clicking on continue button for which i have below html code
myproject.urls-
from django.contrib import admin
from django.urls import path,include
urlpatterns = [
path('', include('training_review.urls')),
path('teoco', include('training_review.urls')),
path('admin/', admin.site.urls),
]
home.urls-
from django.urls import path
from . import views
urlpatterns = [
path('',views.home, name='home'),
path('teoco',views.teoco, name='teoco')
]
home.views-
def home(request):
return render(request, 'home.html')
def teoco(request):
return render(request, 'teoco.html')
{% url 'teoco' %}in href