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
Instead of using 're_path' you can also use ''(empty string) as the first argument of your path(). I have used it and it worked for me.
urlpatterns = [ path('admin/', admin.site.urls), path('',views.index,name='index'), ]