perPage lista timbresxCliente

This commit is contained in:
fjrodriguez
2022-12-02 11:28:38 -06:00
parent 34368a9f70
commit 896e39644f

View File

@@ -112,7 +112,8 @@ def timbres_cliente(request, RFC):
lista = lista.filter(created_at__range=[start, end]) lista = lista.filter(created_at__range=[start, end])
conteo = lista.count() conteo = lista.count()
lista =pageFunc(page,lista,1) perPage = conteo // 2
lista =pageFunc(page,lista,perPage)
context ={ context ={
'lista':lista, 'lista':lista,