예제 #1
0
 def setUp(self):
     super(TestPVATable, self).setUp()
     self.view = PrevisionVsAchievementsTableView.as_view()
     self.url = 'champ_pva_table'
예제 #2
0
 def setUp(self):
     super(TestPVATable, self).setUp()
     self.view = PrevisionVsAchievementsTableView.as_view()
     self.url = 'champ_pva_table'
예제 #3
0
파일: urls.py 프로젝트: soitun/commcare-hq
from django.conf.urls import re_path as url

from custom.champ.views import PrevisionVsAchievementsView, DistrictFilterPrevView, \
    CBOFilterView, PrevisionVsAchievementsTableView, ServiceUptakeView, UserGroupsFilter, OrganizationsFilter, \
    UserPLFilterView, HierarchyFilter

urlpatterns = [
    url(r'^champ_pva/', PrevisionVsAchievementsView.as_view(), name='champ_pva'),
    url(r'^champ_pva_table/', PrevisionVsAchievementsTableView.as_view(), name='champ_pva_table'),
    url(r'^service_uptake/', ServiceUptakeView.as_view(), name='service_uptake'),
    url(r'^district_filter/', DistrictFilterPrevView.as_view(), name='district_filter'),
    url(r'^target_cbo_filter/', CBOFilterView.as_view(), name='target_cbo_filter'),
    url(r'^target_userpl_filter/', UserPLFilterView.as_view(), name='target_userpl_filter'),
    url(r'^group_filter/', UserGroupsFilter.as_view(), name='group_filter'),
    url(r'^organization_filter/', OrganizationsFilter.as_view(), name='organization_filter'),
    url(r'^hierarchy/', HierarchyFilter.as_view(), name='hierarchy'),
]
예제 #4
0
파일: urls.py 프로젝트: kkrampa/commcare-hq
from __future__ import absolute_import
from __future__ import unicode_literals
from django.conf.urls import url

from custom.champ.views import PrevisionVsAchievementsView, DistrictFilterPrevView, \
    CBOFilterView, PrevisionVsAchievementsTableView, ServiceUptakeView, UserGroupsFilter, OrganizationsFilter, \
    UserPLFilterView, HierarchyFilter

urlpatterns = [
    url(r'^champ_pva/', PrevisionVsAchievementsView.as_view(), name='champ_pva'),
    url(r'^champ_pva_table/', PrevisionVsAchievementsTableView.as_view(), name='champ_pva_table'),
    url(r'^service_uptake/', ServiceUptakeView.as_view(), name='service_uptake'),
    url(r'^district_filter/', DistrictFilterPrevView.as_view(), name='district_filter'),
    url(r'^target_cbo_filter/', CBOFilterView.as_view(), name='target_cbo_filter'),
    url(r'^target_userpl_filter/', UserPLFilterView.as_view(), name='target_userpl_filter'),
    url(r'^group_filter/', UserGroupsFilter.as_view(), name='group_filter'),
    url(r'^organization_filter/', OrganizationsFilter.as_view(), name='organization_filter'),
    url(r'^hierarchy/', HierarchyFilter.as_view(), name='hierarchy'),
]
예제 #5
0
from __future__ import absolute_import
from django.conf.urls import url

from custom.champ.views import PrevisionVsAchievementsView, DistrictFilterPrevView, \
    CBOFilterView, PrevisionVsAchievementsTableView, ServiceUptakeView, UserGroupsFilter, OrganizationsFilter, \
    UserPLFilterView

urlpatterns = [
    url(r'^champ_pva/',
        PrevisionVsAchievementsView.as_view(),
        name='champ_pva'),
    url(r'^champ_pva_table/',
        PrevisionVsAchievementsTableView.as_view(),
        name='champ_pva_table'),
    url(r'^service_uptake/',
        ServiceUptakeView.as_view(),
        name='service_uptake'),
    url(r'^district_filter/',
        DistrictFilterPrevView.as_view(),
        name='district_filter'),
    url(r'^target_cbo_filter/',
        CBOFilterView.as_view(),
        name='target_cbo_filter'),
    url(r'^target_userpl_filter/',
        UserPLFilterView.as_view(),
        name='target_userpl_filter'),
    url(r'^group_filter/', UserGroupsFilter.as_view(), name='group_filter'),
    url(r'^organization_filter/',
        OrganizationsFilter.as_view(),
        name='organization_filter'),
]