Fix missing codes
This commit is contained in:
parent
73f7831744
commit
3f3f47888d
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
{% extends "hosting/base_short.html" %}
|
||||
{% load staticfiles bootstrap3 humanize i18n %}
|
||||
{% load staticfiles bootstrap3 humanize i18n custom_tags %}
|
||||
|
||||
{% block content %}
|
||||
<div class="dashboard-container">
|
||||
|
|
|
@ -1172,7 +1172,7 @@ class InvoiceListView(LoginRequiredMixin, ListView):
|
|||
ips_dict = {}
|
||||
for mab in mabs:
|
||||
try:
|
||||
vm_detail = VMDetail.get(vm_id=mab.order.vm_id)
|
||||
vm_detail = VMDetail.objects.get(vm_id=mab.order.vm_id)
|
||||
ips_dict[mab.invoice_number] = [vm_detail.ipv6, vm_detail.ipv4]
|
||||
except VMDetail.DoesNotExist as dne:
|
||||
ips_dict[mab.invoice_number] = ['--']
|
||||
|
|
Loading…
Reference in a new issue