-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathurls.py
More file actions
32 lines (30 loc) · 1.61 KB
/
urls.py
File metadata and controls
32 lines (30 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
from django.urls import path
from django.views.generic import TemplateView
from django_sitemaps import robots_txt
from pythonpro.checkout.views import waiting_list_ty
from . import views
app_name = 'core'
urlpatterns = [
path('', views.index, name='index'),
path('sitemap.xml', views.sitemap, name='sitemap'),
path('robots.txt', robots_txt(timeout=86400), name='robots'),
path('linktree', views.linktree, name='linktree'),
path('curso-de-python-gratis', views.lead_landing_with_no_registration, name='lead_landing_with_no_registration'),
path('curso-de-python-gratis-lite', views.lead_landing, name='lead_landing'),
path('curso-de-python-gratis-no', views.lead_landing_with_no_offer, name='lead_landing_with_no_offer'),
path('cadastro-python-birds', views.lead_form, name='lead_form'),
path('cadastro-python-birds-no', views.lead_form_with_no_offer, name='lead_form_with_no_offer'),
path('definir-senha', views.lead_change_password, name='lead_change_password'),
path('obrigado', views.thanks, name='thanks'),
path('perfil', views.profile, name='profile'),
path('perfil/nome', views.profile_name, name='profile_name'),
path('perfil/email', views.profile_email, name='profile_email'),
path('perfil/senha', views.profile_password, name='profile_password'),
path('lista-de-espera', waiting_list_ty, name='waiting_list'),
path('unsubscribe', TemplateView.as_view(template_name='core/unsubscribe.html'), name='unsubscribe'),
path(
'api/v1/register-and-subscribe',
views.api_register_and_subscribe_fellow,
name='api_register_and_subscribe_fellow'
),
]