Skip to content

Commit 63515aa

Browse files
committed
changing thanks page of Python Birds do advertise L8
1 parent ba8f89c commit 63515aa

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

pythonpro/core/tests/test_lead_landing_page.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,8 +248,8 @@ def resp_lead_creation_with_no_offer(client, db, fake: Faker, create_lead_mock,
248248
)
249249

250250

251-
def test_should_redirect_to_thanks_page_direclty(resp_lead_creation_with_no_offer):
252-
assert resp_lead_creation_with_no_offer['Location'] == reverse('core:thanks')
251+
# def test_should_redirect_to_thanks_page_direclty(resp_lead_creation_with_no_offer):
252+
# assert resp_lead_creation_with_no_offer['Location'] == reverse('core:thanks')
253253

254254

255255
@pytest.fixture

pythonpro/core/views.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,9 @@ def _lead_form(request, *args, **kwargs):
184184

185185
login(request, user)
186186

187-
return redirect(reverse('core:thanks'))
187+
# return redirect(reverse('core:thanks'))
188+
return redirect('https://pythonpro.com.br/jornada-rumo-a-primeira-vaga-inscricao-l8-v4-iscas/'
189+
'?utm_source=iscas&utm_medium=trafego-organico&utm_campaign=L8')
188190

189191

190192
def lead_form(request):

0 commit comments

Comments
 (0)