#mysite - urls
from django.contrib import admin
from django.urls import path, include
urlpatterns = [
path('admin/', admin.site.urls),
path('train/', include('train.urls')),
path('', include('main.urls')),
]
#train-urls
from django.urls import path
from . import views
urlpatterns = [
path('train/', views.train),
]
#train-views
from django.shortcuts import render
# Create your views here.
def train(request):
return render(request, 'train/train.html')