Commit 148d4f6b by liuyingying

cve list

parent a05970ac
......@@ -224,7 +224,7 @@
</div>
<div class="wrap">
<ul>
{% for cve in bug_list %}
{% for cve in cve_list %}
<li class="cve_big_text float-tips" title="软件:{{ cve.software }}<br>漏洞类型:{{ cve.bugType }}"><a href="{{ cve.url }}" target="_blank">{{ cve.identifier }}</a></li>
{% endfor %}
</ul>
......
......@@ -62,7 +62,7 @@ def index(request):
else:
publication_year_list[year] = [pub]
bug_list = Bugs.objects.order_by('-identifier')
bug_list = Bugs.objects.all().order_by('-identifier')
cve_year_list = {}
# for cve in bug_list:
# year = str(cve.datetime)[0:4]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment