1👍
✅
You should set different urls to different views:
urlpatterns = patterns('',
url(r'^$', views.index, name='index'),
url(r'^hive-names/$', views.hive_names, name='hive_names'),
)
Source:stackexchange.com