urls.py in django project
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.home, name='home'), ]