from django.urls import path
from django.views.generic import TemplateView
from great_components.decorators import skip_ga360

import domestic.views.marketaccess
import domestic.views.ukef
from domestic.views.campaign import CampaignView

app_name = 'domestic'

# WHEN ADDING TO THIS LIST CONSIDER WHETHER YOU SHOULD ALSO ADD THE URL NAME
# TO core.views.StaticViewSitemap.items()
urlpatterns = [
    path(
        'get-finance/',
        skip_ga360(domestic.views.ukef.UKEFHomeView.as_view()),
        name='get-finance',
    ),
    path(
        'get-finance/<slug:step>/',
        skip_ga360(
            domestic.views.ukef.GetFinanceLeadGenerationFormView.as_view(
                url_name='domestic:uk-export-finance-lead-generation-form',
                done_step_name='finished',
            )
        ),
        name='uk-export-finance-lead-generation-form',
    ),
    path(
        'get-finance/contact/thanks/',
        skip_ga360(
            TemplateView.as_view(
                template_name='domestic/finance/lead_generation_form/success.html',
            )
        ),
        name='uk-export-finance-lead-generation-form-success',
    ),
    # 'trade-finance/' is added via CMS as a TradeFinancePage with the slug 'trade-finance'
    path(
        'project-finance/',
        skip_ga360(
            TemplateView.as_view(
                template_name='domestic/ukef/project_finance.html',
            )
        ),
        name='project-finance',
    ),
    path(
        'how-we-assess-your-project/',
        skip_ga360(
            TemplateView.as_view(
                template_name='domestic/ukef/how_we_assess.html',
            )
        ),
        name='how-we-assess-your-project',
    ),
    path(
        'what-we-offer-you/',
        skip_ga360(
            TemplateView.as_view(
                template_name='domestic/ukef/what_we_offer.html',
            )
        ),
        name='what-we-offer-you',
    ),
    path(
        'country-cover/',
        skip_ga360(
            TemplateView.as_view(
                template_name='domestic/ukef/country_cover.html',
            )
        ),
        name='country-cover',
    ),
    path(
        'uk-export-contact-form/',
        skip_ga360(domestic.views.ukef.ContactView.as_view()),
        {'slug': 'uk-export-contact'},
        name='uk-export-contact',
    ),
    path(
        'uk-export-contact-form-success/',
        skip_ga360(domestic.views.ukef.SuccessPageView.as_view()),
        name='uk-export-contact-success',
    ),
    path(
        'report-trade-barrier/',
        skip_ga360(
            domestic.views.marketaccess.MarketAccessView.as_view(),
        ),
        name='market-access',
    ),
    path(
        'report-trade-barrier/report/success/',
        skip_ga360(
            domestic.views.marketaccess.ReportMarketAccessBarrierSuccessView.as_view(),
        ),
        name='report-barrier-form-success',
    ),
    path(
        'report-trade-barrier/report/<slug:step>/',
        skip_ga360(
            domestic.views.marketaccess.ReportMarketAccessBarrierFormView.as_view(
                url_name='domestic:report-ma-barrier',
                done_step_name='finished',
            )
        ),
        name='report-ma-barrier',
    ),
    path(
        'campaigns/<slug:page_slug>/',
        skip_ga360(CampaignView.as_view()),
        name='campaigns',
    ),
]

b4e3ec258504d2280a795aedb3ce18d5a887f6c5
<mask token>

<mask token>
app_name = 'domestic'
urlpatterns = [path('get-finance/', skip_ga360(domestic.views.ukef.
    UKEFHomeView.as_view()), name='get-finance'), path(
    'get-finance/<slug:step>/', skip_ga360(domestic.views.ukef.
    GetFinanceLeadGenerationFormView.as_view(url_name=
    'domestic:uk-export-finance-lead-generation-form', done_step_name=
    'finished')), name='uk-export-finance-lead-generation-form'), path(
    'get-finance/contact/thanks/', skip_ga360(TemplateView.as_view(
    template_name='domestic/finance/lead_generation_form/success.html')),
    name='uk-export-finance-lead-generation-form-success'), path(
    'project-finance/', skip_ga360(TemplateView.as_view(template_name=
    'domestic/ukef/project_finance.html')), name='project-finance'), path(
    'how-we-assess-your-project/', skip_ga360(TemplateView.as_view(
    template_name='domestic/ukef/how_we_assess.html')), name=
    'how-we-assess-your-project'), path('what-we-offer-you/', skip_ga360(
    TemplateView.as_view(template_name='domestic/ukef/what_we_offer.html')),
    name='what-we-offer-you'), path('country-cover/', skip_ga360(
    TemplateView.as_view(template_name='domestic/ukef/country_cover.html')),
    name='country-cover'), path('uk-export-contact-form/', skip_ga360(
    domestic.views.ukef.ContactView.as_view()), {'slug':
    'uk-export-contact'}, name='uk-export-contact'), path(
    'uk-export-contact-form-success/', skip_ga360(domestic.views.ukef.
    SuccessPageView.as_view()), name='uk-export-contact-success'), path(
    'report-trade-barrier/', skip_ga360(domestic.views.marketaccess.
    MarketAccessView.as_view()), name='market-access'), path(
    'report-trade-barrier/report/success/', skip_ga360(domestic.views.
    marketaccess.ReportMarketAccessBarrierSuccessView.as_view()), name=
    'report-barrier-form-success'), path(
    'report-trade-barrier/report/<slug:step>/', skip_ga360(domestic.views.
    marketaccess.ReportMarketAccessBarrierFormView.as_view(url_name=
    'domestic:report-ma-barrier', done_step_name='finished')), name=
    'report-ma-barrier'), path('campaigns/<slug:page_slug>/', skip_ga360(
    CampaignView.as_view()), name='campaigns')]

from django.urls import path
from django.views.generic import TemplateView
from great_components.decorators import skip_ga360
import domestic.views.marketaccess
import domestic.views.ukef
from domestic.views.campaign import CampaignView
app_name = 'domestic'
urlpatterns = [path('get-finance/', skip_ga360(domestic.views.ukef.
    UKEFHomeView.as_view()), name='get-finance'), path(
    'get-finance/<slug:step>/', skip_ga360(domestic.views.ukef.
    GetFinanceLeadGenerationFormView.as_view(url_name=
    'domestic:uk-export-finance-lead-generation-form', done_step_name=
    'finished')), name='uk-export-finance-lead-generation-form'), path(
    'get-finance/contact/thanks/', skip_ga360(TemplateView.as_view(
    template_name='domestic/finance/lead_generation_form/success.html')),
    name='uk-export-finance-lead-generation-form-success'), path(
    'project-finance/', skip_ga360(TemplateView.as_view(template_name=
    'domestic/ukef/project_finance.html')), name='project-finance'), path(
    'how-we-assess-your-project/', skip_ga360(TemplateView.as_view(
    template_name='domestic/ukef/how_we_assess.html')), name=
    'how-we-assess-your-project'), path('what-we-offer-you/', skip_ga360(
    TemplateView.as_view(template_name='domestic/ukef/what_we_offer.html')),
    name='what-we-offer-you'), path('country-cover/', skip_ga360(
    TemplateView.as_view(template_name='domestic/ukef/country_cover.html')),
    name='country-cover'), path('uk-export-contact-form/', skip_ga360(
    domestic.views.ukef.ContactView.as_view()), {'slug':
    'uk-export-contact'}, name='uk-export-contact'), path(
    'uk-export-contact-form-success/', skip_ga360(domestic.views.ukef.
    SuccessPageView.as_view()), name='uk-export-contact-success'), path(
    'report-trade-barrier/', skip_ga360(domestic.views.marketaccess.
    MarketAccessView.as_view()), name='market-access'), path(
    'report-trade-barrier/report/success/', skip_ga360(domestic.views.
    marketaccess.ReportMarketAccessBarrierSuccessView.as_view()), name=
    'report-barrier-form-success'), path(
    'report-trade-barrier/report/<slug:step>/', skip_ga360(domestic.views.
    marketaccess.ReportMarketAccessBarrierFormView.as_view(url_name=
    'domestic:report-ma-barrier', done_step_name='finished')), name=
    'report-ma-barrier'), path('campaigns/<slug:page_slug>/', skip_ga360(
    CampaignView.as_view()), name='campaigns')]

from django.urls import path
from django.views.generic import TemplateView
from great_components.decorators import skip_ga360

import domestic.views.marketaccess
import domestic.views.ukef
from domestic.views.campaign import CampaignView

app_name = 'domestic'

# WHEN ADDING TO THIS LIST CONSIDER WHETHER YOU SHOULD ALSO ADD THE URL NAME
# TO core.views.StaticViewSitemap.items()
urlpatterns = [
    path(
        'get-finance/',
        skip_ga360(domestic.views.ukef.UKEFHomeView.as_view()),
        name='get-finance',
    ),
    path(
        'get-finance/<slug:step>/',
        skip_ga360(
            domestic.views.ukef.GetFinanceLeadGenerationFormView.as_view(
                url_name='domestic:uk-export-finance-lead-generation-form',
                done_step_name='finished',
            )
        ),
        name='uk-export-finance-lead-generation-form',
    ),
    path(
        'get-finance/contact/thanks/',
        skip_ga360(
            TemplateView.as_view(
                template_name='domestic/finance/lead_generation_form/success.html',
            )
        ),
        name='uk-export-finance-lead-generation-form-success',
    ),
    # 'trade-finance/' is added via CMS as a TradeFinancePage with the slug 'trade-finance'
    path(
        'project-finance/',
        skip_ga360(
            TemplateView.as_view(
                template_name='domestic/ukef/project_finance.html',
            )
        ),
        name='project-finance',
    ),
    path(
        'how-we-assess-your-project/',
        skip_ga360(
            TemplateView.as_view(
                template_name='domestic/ukef/how_we_assess.html',
            )
        ),
        name='how-we-assess-your-project',
    ),
    path(
        'what-we-offer-you/',
        skip_ga360(
            TemplateView.as_view(
                template_name='domestic/ukef/what_we_offer.html',
            )
        ),
        name='what-we-offer-you',
    ),
    path(
        'country-cover/',
        skip_ga360(
            TemplateView.as_view(
                template_name='domestic/ukef/country_cover.html',
            )
        ),
        name='country-cover',
    ),
    path(
        'uk-export-contact-form/',
        skip_ga360(domestic.views.ukef.ContactView.as_view()),
        {'slug': 'uk-export-contact'},
        name='uk-export-contact',
    ),
    path(
        'uk-export-contact-form-success/',
        skip_ga360(domestic.views.ukef.SuccessPageView.as_view()),
        name='uk-export-contact-success',
    ),
    path(
        'report-trade-barrier/',
        skip_ga360(
            domestic.views.marketaccess.MarketAccessView.as_view(),
        ),
        name='market-access',
    ),
    path(
        'report-trade-barrier/report/success/',
        skip_ga360(
            domestic.views.marketaccess.ReportMarketAccessBarrierSuccessView.as_view(),
        ),
        name='report-barrier-form-success',
    ),
    path(
        'report-trade-barrier/report/<slug:step>/',
        skip_ga360(
            domestic.views.marketaccess.ReportMarketAccessBarrierFormView.as_view(
                url_name='domestic:report-ma-barrier',
                done_step_name='finished',
            )
        ),
        name='report-ma-barrier',
    ),
    path(
        'campaigns/<slug:page_slug>/',
        skip_ga360(CampaignView.as_view()),
        name='campaigns',
    ),
]
