Skip to content
This repository was archived by the owner on Aug 15, 2023. It is now read-only.

Commit

Permalink
Fix for Django versions < 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
angvp committed Aug 14, 2017
1 parent 8d4f5bb commit 3f30c5e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion changuito/middleware.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
from .proxy import CartProxy
from django.utils.deprecation import MiddlewareMixin
try:
from django.utils.deprecation import MiddlewareMixin
except ImportError:
MiddlewareMixin = object


class CartMiddleware(MiddlewareMixin):
Expand Down

0 comments on commit 3f30c5e

Please sign in to comment.