[Answer]-Django views connecting to model and urls

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'),
)

Leave a comment