1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-22 20:44:55 +00:00

pyi2phosts/urls.py: add ordering for hosts browsing

This commit is contained in:
Hidden Z 2010-11-06 19:28:19 +00:00
parent e3025b02e9
commit ad77aebe4f

View File

@ -21,7 +21,7 @@ extsources = {
}
browse_hosts = {
'queryset': i2phost.objects.filter(activated=True),
'queryset': i2phost.objects.filter(activated=True).order_by("-last_seen"),
'template_name': 'browse.html',
'template_object_name': 'host',
}