1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

logs view adds paging ability

settings.LOGS_PER_PAGE controls logs count per page
This commit is contained in:
Jan Krcmar 2016-03-23 10:38:33 +01:00
parent 317c2a85ae
commit 6afcd00e2e
6 changed files with 35 additions and 7 deletions

7
logs/urls.py Normal file
View file

@ -0,0 +1,7 @@
from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^$', views.showlogs, name='showlogs'),
url(r'^(?P<page>[0-9]+)/$', views.showlogs, name='showlogspage'),
]