from django.conf.urls import url from . import views as darksearch_views urlpatterns = [ url(r'^$', darksearch_views.search, name='search'), ]