from django.conf.urls import url [docs]def dummy_view(): pass urlpatterns = [ url(r'^$', dummy_view, name="home"), ]