move generate_pdf_letter func to utils app

This commit is contained in:
Stephan Telling 2017-08-17 18:38:25 +02:00
parent ee8c9cf01c
commit eac39352cd
No known key found for this signature in database
GPG key ID: D4892289F36ADA9B
3 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
from django.core.files import File from django.core.files import File
from shop.pdf import generate_pdf_letter from utils.pdf import generate_pdf_letter
from shop.email import add_invoice_email, add_creditnote_email from shop.email import add_invoice_email, add_creditnote_email
from shop.models import Order, CustomOrder, Invoice, CreditNote from shop.models import Order, CustomOrder, Invoice, CreditNote
import logging import logging

View file

@ -13,7 +13,7 @@ from utils.models import (
UUIDModel, UUIDModel,
CreatedUpdatedModel CreatedUpdatedModel
) )
from shop.pdf import generate_pdf_letter from utils.pdf import generate_pdf_letter
logger = logging.getLogger("bornhack.%s" % __name__) logger = logging.getLogger("bornhack.%s" % __name__)