I\'m new to Django and am trying to create the back end code for a music application on my website.
I have created the correct view in my views.py file (in the corre
Just to add to what @alasdair mentioned, I added re_path as part of the include and it works fine. Here is an example
Add re_path to your import (for django 2.0)
from django.urls import path, re_path urlpatterns = [ path('admin/', admin.site.urls), re_path(r'^$', home, name='home'), ]