Skip to content

Commit

Permalink
Merge a0125af into b17f727
Browse files Browse the repository at this point in the history
  • Loading branch information
geert2705 committed Jul 1, 2018
2 parents b17f727 + a0125af commit 30334ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions responsive/middleware.py
Expand Up @@ -6,13 +6,13 @@
from django.template.loader import render_to_string
from django.utils.cache import patch_vary_headers
from django.utils.encoding import smart_bytes

from django.utils.deprecation import MiddlewareMixin

from .conf import settings
from .utils import Device


class ResponsiveMiddleware(object):
class ResponsiveMiddleware(MiddlewareMixin):

def process_request(self, request):
responsive_cookie = request.COOKIES.get(settings.RESPONSIVE_COOKIE_NAME, None)
Expand Down

0 comments on commit 30334ed

Please sign in to comment.