perPage lista timbresxCliente
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user