blob: 84b0bca58267bd33f6be7c6fd89dcd1a1feeb1a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
from django.urls import path
from . import views
app_name = "lttr"
urlpatterns = [
path(
r'<int:year>/<int:month>/<str:slug>',
views.NewsletterMailingDetail.as_view(),
name="detail"
),
path(
r'<int:page>',
views.NewsletterListView.as_view(),
name="list"
),
path(
r'',
views.NewsletterListView.as_view(),
{'page': 1},
name="list"
),
]
|