I have managed to solve it by myself so reporting here if anyone is
interested. I have checked and the sql Log shows statements are generated
with LIMIT clause (postgre).
You have to subclass the ChangeList class ass
class MyChangeList(ChangeList):
def get_query_set(self):
return supe
Hello!
I am trying to undestand how to limit visible rows in change view. It seems
to me a common need, but can not find info in django docs.
I am using the admin interface.
So I have one model and his admin is something as:
ordering = ('-datum','krajnjikorisnik','tipimpulse','impulsecijena')
2 matches
Mail list logo