plain.auth 0.20.7__tar.gz → 0.21.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {plain_auth-0.20.7 → plain_auth-0.21.0}/.gitignore +2 -2
- {plain_auth-0.20.7 → plain_auth-0.21.0}/PKG-INFO +1 -1
- {plain_auth-0.20.7 → plain_auth-0.21.0}/plain/auth/CHANGELOG.md +10 -0
- {plain_auth-0.20.7 → plain_auth-0.21.0}/plain/auth/views.py +2 -1
- {plain_auth-0.20.7 → plain_auth-0.21.0}/pyproject.toml +1 -1
- {plain_auth-0.20.7 → plain_auth-0.21.0}/LICENSE +0 -0
- {plain_auth-0.20.7 → plain_auth-0.21.0}/README.md +0 -0
- {plain_auth-0.20.7 → plain_auth-0.21.0}/plain/auth/README.md +0 -0
- {plain_auth-0.20.7 → plain_auth-0.21.0}/plain/auth/__init__.py +0 -0
- {plain_auth-0.20.7 → plain_auth-0.21.0}/plain/auth/default_settings.py +0 -0
- {plain_auth-0.20.7 → plain_auth-0.21.0}/plain/auth/requests.py +0 -0
- {plain_auth-0.20.7 → plain_auth-0.21.0}/plain/auth/sessions.py +0 -0
- {plain_auth-0.20.7 → plain_auth-0.21.0}/plain/auth/templates.py +0 -0
- {plain_auth-0.20.7 → plain_auth-0.21.0}/plain/auth/test.py +0 -0
- {plain_auth-0.20.7 → plain_auth-0.21.0}/plain/auth/utils.py +0 -0
- {plain_auth-0.20.7 → plain_auth-0.21.0}/tests/app/settings.py +0 -0
- {plain_auth-0.20.7 → plain_auth-0.21.0}/tests/app/urls.py +0 -0
- {plain_auth-0.20.7 → plain_auth-0.21.0}/tests/app/users/migrations/0001_initial.py +0 -0
- {plain_auth-0.20.7 → plain_auth-0.21.0}/tests/app/users/migrations/__init__.py +0 -0
- {plain_auth-0.20.7 → plain_auth-0.21.0}/tests/app/users/models.py +0 -0
- {plain_auth-0.20.7 → plain_auth-0.21.0}/tests/test_views.py +0 -0
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# plain-auth changelog
|
|
2
2
|
|
|
3
|
+
## [0.21.0](https://github.com/dropseed/plain/releases/plain-auth@0.21.0) (2025-11-12)
|
|
4
|
+
|
|
5
|
+
### What's changed
|
|
6
|
+
|
|
7
|
+
- Improved type checking compatibility by adding type ignore comment for mixin method resolution in `AuthViewMixin` ([f4dbcef](https://github.com/dropseed/plain/commit/f4dbcefa92))
|
|
8
|
+
|
|
9
|
+
### Upgrade instructions
|
|
10
|
+
|
|
11
|
+
- No changes required
|
|
12
|
+
|
|
3
13
|
## [0.20.7](https://github.com/dropseed/plain/releases/plain-auth@0.20.7) (2025-10-31)
|
|
4
14
|
|
|
5
15
|
### What's changed
|
|
@@ -110,7 +110,8 @@ class AuthViewMixin(SessionViewMixin):
|
|
|
110
110
|
else:
|
|
111
111
|
raise PermissionDenied("Login required")
|
|
112
112
|
|
|
113
|
-
|
|
113
|
+
# Mixin expects to be used with View base class
|
|
114
|
+
response = super().get_response() # type: ignore[misc]
|
|
114
115
|
|
|
115
116
|
if self.user:
|
|
116
117
|
# Make sure it at least has private as a default
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|