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:
parent
e3025b02e9
commit
ad77aebe4f
@ -21,7 +21,7 @@ extsources = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
browse_hosts = {
|
browse_hosts = {
|
||||||
'queryset': i2phost.objects.filter(activated=True),
|
'queryset': i2phost.objects.filter(activated=True).order_by("-last_seen"),
|
||||||
'template_name': 'browse.html',
|
'template_name': 'browse.html',
|
||||||
'template_object_name': 'host',
|
'template_object_name': 'host',
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user