Browse Source

pyi2phosts/urls.py: add ordering for hosts browsing

pull/1/head
Hidden Z 14 years ago
parent
commit
ad77aebe4f
  1. 2
      pyi2phosts/urls.py

2
pyi2phosts/urls.py

@ -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…
Cancel
Save