I need to pass the route of my index.html file from the public folder at the frontend to the urls.py file that is located in the backend which is in another backend folder
FOLDERS STRACTURE:
backend
-> backend
-> urls.py
frontend
-> public
-> index.html
here is where I need to put that route so python will find my index.html file
from django.contrib import admin
from django.urls import include,path
from .routers import router
from django.views.generic import TemplateView
urlpatterns = [
path('', TemplateView.as_view(template_name = '../../public/index.html')),
]
I use VueJs in the frontend, that why I want to work organized and have dedicated frontend + backend libraries