Skip to content

Commit a6ebe34

Browse files
authored
Merge pull request #841 from execut/fix-bug-with-invalidate-cache
#826 changed cache import definition
2 parents 66a6612 + 3402160 commit a6ebe34

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shop/models/product.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44

55
from django.apps import apps
66
from django.conf import settings
7-
from django.core import cache, checks
7+
from django.core import checks
8+
from django.core.cache import cache
89
from django.db import models
910
from django.db.models.aggregates import Sum
1011
from django.db.models.functions import Coalesce

0 commit comments

Comments
 (0)