There was an error while loading. Please reload this page.
Create the html file under templates. Project pages and other sub pages will be in certain folders.
Create the views class under django_project -> views.py the views class template_name should have the exact same html file name
class TestPage(TemplateView):
template_name = 'test.html'`
Create the path for the webpage in django_project > urls.py then under urlpatterns add the path using the same exact name you used for the views class
Then you are set to add the webpage where you want "{% url 'example' %}"