from django.conf.urls import url, include

from survey.views import InsightsTypeView, TotalSurveyCountView

from survey.views import SurveyObservationView


urlpatterns = [
 #   url(r'^data/$', SurveyJSONDataView.as_view(), name="survey_data"),
    url(r'^(?P<survey_id>\d+)/observations/$', SurveyObservationView.as_view(),
        name="survey_observation"),
    url(r'^observations/$', SurveyObservationView.as_view(),
        name="survey_observations"),
    url(r'^insights/$', InsightsTypeView.as_view(),
        name="insights"),
    url(r'^total/counts/$', TotalSurveyCountView.as_view(), name="survey_counts"),
]
