mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-11-21 23:58:02 +01:00
Fix matplotlib backend
This commit is contained in:
parent
ae5860fc17
commit
3bf5ce3033
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ from matplotlib.figure import Figure
|
||||||
|
|
||||||
from purchase.models import Basket, PaymentMethod, Product, ProductQuerySet
|
from purchase.models import Basket, PaymentMethod, Product, ProductQuerySet
|
||||||
|
|
||||||
matplotlib.use("Agg")
|
matplotlib.use("SVG")
|
||||||
|
|
||||||
|
|
||||||
@permission_required("purchase.view_basket")
|
@permission_required("purchase.view_basket")
|
||||||
|
|
Loading…
Reference in a new issue