diff options
Diffstat (limited to 'python/tbc_www/views.py')
-rw-r--r-- | python/tbc_www/views.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/python/tbc_www/views.py b/python/tbc_www/views.py index 5b719aa..7e99671 100644 --- a/python/tbc_www/views.py +++ b/python/tbc_www/views.py @@ -190,3 +190,10 @@ def new_main(request): TmpDict['BJ'] = adict TmpDict['RM'] = BuildLogsRepomanQa.objects.order_by('-Id')[:Lines] return render(request, 'pages/' + pagerequest + '/index.html', TmpDict) + +def new_repomanqa(request): + pagerequest = 'new' + Lines = 30 + TmpDict = default_TmpDict(pagerequest) + TmpDict['RM_tmp'] = BuildLogsRepomanQa.objects.order_by('-Id')[:Lines] + return render(request, 'pages/' + pagerequest + '/repomanqa/index.html', TmpDict) |