b0b8f30580
Bulma is simple and free full-CSS framework. Unlike Bootstrap, it fits within a single small CSS file. It is also well integrated in Django. https://bulma.io/
23 lines
550 B
Python
23 lines
550 B
Python
from django.urls import path
|
|
from . import views
|
|
|
|
|
|
urlpatterns = [
|
|
path('', views.EntriesView.as_view(), name='log_index'),
|
|
path(
|
|
'<slug:source>/<int:year>/<int:month>/<int:day>/',
|
|
views.EntriesView.as_view(),
|
|
name='log_day'
|
|
),
|
|
path(
|
|
'switch/source/<int:pk>/',
|
|
views.switch_source,
|
|
name='log_switch_source'
|
|
),
|
|
path(
|
|
'switch/entry/<int:pk>/',
|
|
views.switch_entry,
|
|
name='log_switch_entry'
|
|
),
|
|
path('search/', views.search_view, name='log_search'),
|
|
]
|