Fix invoice download if not all invoices have PDFs yet

This commit is contained in:
Raphael Michel
2016-11-11 15:05:39 +01:00
parent 4d8c3fe435
commit 342a41f1d7
3 changed files with 6 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
import logging
from datetime import timedelta
import pytz
import pytz
from django.contrib import messages
from django.db.models import Q
from django.shortcuts import redirect