예제 #1
0
        ComplaintLandingView.as_view(),
        name='complaint-landing'),

    # CCDB5-API
    flagged_url(
        'CCDB5_RELEASE', r'^data-research/consumer-complaints/search/api/v1/',
        include_if_app_enabled('complaint_search', 'complaint_search.urls')),
    # If 'CCDB5_RELEASE' is True, include CCDB5 urls.
    flagged_url('CCDB5_RELEASE', r'^data-research/consumer-complaints/search/',
                include_if_app_enabled('ccdb5_ui', 'ccdb5_ui.config.urls')),
    url(r'^oah-api/rates/',
        include_if_app_enabled('ratechecker', 'ratechecker.urls')),
    url(r'^oah-api/county/',
        include_if_app_enabled('countylimits', 'countylimits.urls')),
    url(r'^find-a-housing-counselor/$',
        HousingCounselorView.as_view(),
        name='housing-counselor'),
    url(r'^save-hud-counselors-list/$',
        HousingCounselorPDFView.as_view(),
        name='housing-counselor-pdf'),

    # Report redirects
    url(
        r'^reports/(?P<path>.*)$',
        RedirectView.as_view(url='/data-research/research-reports/%(path)s',
                             permanent=True)),
    url(r'^jobs/supervision/$',
        TemplateView.as_view(template_name='jobmanager/supervision.html'),
        name='jobs_supervision'),
    url(r'^jobs/technology-innovation-fellows/$',
        TemplateView.as_view(
예제 #2
0
                                       'complaint_search.urls')
                ),
    # If 'CCDB5_RELEASE' is True, include CCDB5 urls.
    flagged_url('CCDB5_RELEASE',
                r'^data-research/consumer-complaints/search/',
                include_if_app_enabled(
                    'ccdb5_ui', 'ccdb5_ui.config.urls'
                )),

    url(r'^oah-api/rates/',
        include_if_app_enabled('ratechecker', 'ratechecker.urls')),
    url(r'^oah-api/county/',
        include_if_app_enabled('countylimits', 'countylimits.urls')),

    url(r'^find-a-housing-counselor/$',
        HousingCounselorView.as_view(),
        name='housing-counselor'),
    url(r'^save-hud-counselors-list/$',
        HousingCounselorPDFView.as_view(),
        name='housing-counselor-pdf'),

    # Report redirects
    url(r'^reports/(?P<path>.*)$',
        RedirectView.as_view(
            url='/data-research/research-reports/%(path)s', permanent=True)),
    url(r'^jobs/supervision/$',
        TemplateView.as_view(
            template_name='jobmanager/supervision.html'),
        name='jobs_supervision'),

    url(r'^jobs/technology-innovation-fellows/$',