|
|
|
|
@ -69,7 +69,6 @@ class PrintDocumentCreate(BaseMixin, View): |
|
|
|
|
msg.attach_file(attach) |
|
|
|
|
msg.send() |
|
|
|
|
|
|
|
|
|
messages.info(request, 'Заявка на распечатку принята') |
|
|
|
|
return redirect('common:print-order-detail', pk=print_order.pk) |
|
|
|
|
# import code; code.interact(local=dict(globals(), **locals())) |
|
|
|
|
else: |
|
|
|
|
|