from django.conf.urls import url from . import views urlpatterns = [ url(r'^info/$', views.PestSelectView.as_view(), name='pest_info'), ]