...
 
Commits (2)
<a name="1.0.1"></a>
## [1.0.1](https://gitlab.com/unplugstudio/django-pwdprotect/compare/v1.0.0...v1.0.1) (2018-08-21)
### Bug Fixes
* make compatible with Django >1.10 ([99167d7](https://gitlab.com/unplugstudio/django-pwdprotect/commit/99167d7))
<a name="1.0.0"></a>
# 1.0.0 (2018-06-12)
......
__version__ = "1.0.0"
__version__ = "1.0.1"
default_app_config = "pwdprotect.apps.PwdProtectConfig"
......@@ -3,6 +3,7 @@ from __future__ import absolute_import, unicode_literals
import base64
from django.http import HttpResponse
from django.utils.deprecation import MiddlewareMixin
from django.utils.encoding import smart_bytes
try:
......@@ -13,7 +14,7 @@ except ImportError:
from .models import PasswordProtectedUrl
class PasswordProtectMiddleware(object):
class PasswordProtectMiddleware(MiddlewareMixin):
def process_request(self, request):
"""
......