Skip to content

Commit ff905dd

Browse files
committed
changing thank you page of webiorico landing page to rockfunnels redirector
1 parent 8033abb commit ff905dd

File tree

3 files changed

+1
-15
lines changed

3 files changed

+1
-15
lines changed

pythonpro/pages/tests/test_tpp_webiorico_landing_page.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,3 @@ def test_should_set_date_by_url(client):
8888

8989
assert resp.status_code == 200
9090
dj_assert_contains(resp, '13/10')
91-
92-
93-
def test_should_return_200_when_load_thank_you_page(client):
94-
resp = client.get(reverse('pages:tpp_webiorico_thank_you_page'))
95-
assert resp.status_code == 200

pythonpro/pages/urls.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,4 @@
5050
views.TppWebioricoLandingPage.as_view(),
5151
name='tpp_webiorico_landing_page'
5252
),
53-
path(
54-
'rumo-a-primeira-vaga/obrigado',
55-
views.TppWebioricoThankYouPage.as_view(),
56-
name='tpp_webiorico_thank_you_page'
57-
),
5853
]

pythonpro/pages/views.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class BootcampVipThankYouPage(BaseThankYouView):
9191

9292

9393
class TppWebioricoLandingPage(BaseLandingPageView):
94-
success_url = reverse_lazy('pages:tpp_webiorico_thank_you_page')
94+
success_url = 'http://pythonpro.rck.fun/tpp-webiorico'
9595
email_marketing_tag = 'tpp-webiorico'
9696

9797
def get_next_wed(self):
@@ -111,7 +111,3 @@ def get_context_data(self, *args, **kwargs):
111111
context = super().get_context_data(*args, **kwargs)
112112
context['date'] = self.get_next_wed()
113113
return context
114-
115-
116-
class TppWebioricoThankYouPage(BaseThankYouView):
117-
pass

0 commit comments

Comments
 (0)