# make sure that you save the file when reloading changes in port 8000
# check the path you defined in views.py, and for urls.py
# views
def about(request):
return render(request, 'about.html')
# urls
urlpatterns [
path('', views.index, name='index'),
path('templates/about.html/', views.about, name="about")
]
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter