plain.auth 0.23.0__tar.gz → 0.24.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.23.0 → plain_auth-0.24.0}/PKG-INFO +2 -2
- {plain_auth-0.23.0 → plain_auth-0.24.0}/plain/auth/CHANGELOG.md +10 -0
- {plain_auth-0.23.0 → plain_auth-0.24.0}/plain/auth/README.md +1 -1
- {plain_auth-0.23.0 → plain_auth-0.24.0}/plain/auth/views.py +2 -1
- {plain_auth-0.23.0 → plain_auth-0.24.0}/pyproject.toml +1 -1
- {plain_auth-0.23.0 → plain_auth-0.24.0}/.gitignore +0 -0
- {plain_auth-0.23.0 → plain_auth-0.24.0}/LICENSE +0 -0
- {plain_auth-0.23.0 → plain_auth-0.24.0}/README.md +0 -0
- {plain_auth-0.23.0 → plain_auth-0.24.0}/plain/auth/__init__.py +0 -0
- {plain_auth-0.23.0 → plain_auth-0.24.0}/plain/auth/default_settings.py +0 -0
- {plain_auth-0.23.0 → plain_auth-0.24.0}/plain/auth/requests.py +0 -0
- {plain_auth-0.23.0 → plain_auth-0.24.0}/plain/auth/sessions.py +0 -0
- {plain_auth-0.23.0 → plain_auth-0.24.0}/plain/auth/templates.py +0 -0
- {plain_auth-0.23.0 → plain_auth-0.24.0}/plain/auth/test.py +0 -0
- {plain_auth-0.23.0 → plain_auth-0.24.0}/plain/auth/utils.py +0 -0
- {plain_auth-0.23.0 → plain_auth-0.24.0}/tests/app/settings.py +0 -0
- {plain_auth-0.23.0 → plain_auth-0.24.0}/tests/app/urls.py +0 -0
- {plain_auth-0.23.0 → plain_auth-0.24.0}/tests/app/users/migrations/0001_initial.py +0 -0
- {plain_auth-0.23.0 → plain_auth-0.24.0}/tests/app/users/migrations/__init__.py +0 -0
- {plain_auth-0.23.0 → plain_auth-0.24.0}/tests/app/users/models.py +0 -0
- {plain_auth-0.23.0 → plain_auth-0.24.0}/tests/test_views.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: plain.auth
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.24.0
|
|
4
4
|
Summary: Add users to your app and decide what they can access.
|
|
5
5
|
Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -152,7 +152,7 @@ Use the [`AuthViewMixin`](./views.py#AuthViewMixin) to restrict views to logged-
|
|
|
152
152
|
|
|
153
153
|
```python
|
|
154
154
|
from plain.auth.views import AuthViewMixin
|
|
155
|
-
from plain.
|
|
155
|
+
from plain.http import ForbiddenError403
|
|
156
156
|
from plain.views import View
|
|
157
157
|
|
|
158
158
|
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# plain-auth changelog
|
|
2
2
|
|
|
3
|
+
## [0.24.0](https://github.com/dropseed/plain/releases/plain-auth@0.24.0) (2026-01-13)
|
|
4
|
+
|
|
5
|
+
### What's changed
|
|
6
|
+
|
|
7
|
+
- HTTP exceptions moved from `plain.exceptions` to `plain.http.exceptions` (exported via `plain.http`) ([b61f909](https://github.com/dropseed/plain/commit/b61f909e29))
|
|
8
|
+
|
|
9
|
+
### Upgrade instructions
|
|
10
|
+
|
|
11
|
+
- Update imports of HTTP exceptions from `plain.exceptions` to `plain.http` (e.g., `from plain.exceptions import ForbiddenError403` becomes `from plain.http import ForbiddenError403`)
|
|
12
|
+
|
|
3
13
|
## [0.23.0](https://github.com/dropseed/plain/releases/plain-auth@0.23.0) (2026-01-13)
|
|
4
14
|
|
|
5
15
|
### What's changed
|
|
@@ -139,7 +139,7 @@ Use the [`AuthViewMixin`](./views.py#AuthViewMixin) to restrict views to logged-
|
|
|
139
139
|
|
|
140
140
|
```python
|
|
141
141
|
from plain.auth.views import AuthViewMixin
|
|
142
|
-
from plain.
|
|
142
|
+
from plain.http import ForbiddenError403
|
|
143
143
|
from plain.views import View
|
|
144
144
|
|
|
145
145
|
|
|
@@ -4,8 +4,9 @@ from functools import cached_property
|
|
|
4
4
|
from typing import Any
|
|
5
5
|
from urllib.parse import urlparse, urlunparse
|
|
6
6
|
|
|
7
|
-
from plain.exceptions import ForbiddenError403, NotFoundError404
|
|
8
7
|
from plain.http import (
|
|
8
|
+
ForbiddenError403,
|
|
9
|
+
NotFoundError404,
|
|
9
10
|
QueryDict,
|
|
10
11
|
RedirectResponse,
|
|
11
12
|
ResponseBase,
|
|
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
|