khaganat-web/logs/urls.py

12 lines
256 B
Python
Raw Normal View History

2018-01-27 17:58:36 +00:00
from django.urls import path
from . import views
urlpatterns = [
path('', views.IndexView.as_view(), name='log_index'),
2018-01-27 22:12:09 +00:00
path(
'<slug:source>/<int:year>/<int:month>/<int:day>/',
views.EntriesView.as_view(), name='log_day'
),
2018-01-27 17:58:36 +00:00
]