def recent_scans(request):
 db_obj = RecentScansDB.objects.all().order_by('-TS')
 context = {'title': 'Recent Scans', 'entries': db_obj}
 template = 'general/recent.html'
 return render(request, template, context)

def recent_scans ( request ) : db_obj = RecentScansDB . objects . all ( ) . order_by ( '-TS' ) context = { 'title' : 'Recent Scans' , 'entries' : db_obj } template = 'general/recent.html' return render ( request , template , context )
show recent scans route .