plain.auth 0.23.0__py3-none-any.whl → 0.24.0__py3-none-any.whl

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/CHANGELOG.md CHANGED
@@ -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
plain/auth/README.md 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.exceptions import ForbiddenError403
142
+ from plain.http import ForbiddenError403
143
143
  from plain.views import View
144
144
 
145
145
 
plain/auth/views.py CHANGED
@@ -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,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plain.auth
3
- Version: 0.23.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.exceptions import ForbiddenError403
155
+ from plain.http import ForbiddenError403
156
156
  from plain.views import View
157
157
 
158
158
 
@@ -1,5 +1,5 @@
1
- plain/auth/CHANGELOG.md,sha256=5Qmh-kOTzUDAuT7ncQs2L6PGsmGh7ToBlwZQE1ZBlUg,8413
2
- plain/auth/README.md,sha256=397DaiamLW8JHoVwNrrIO8NAgRS9jWOdeAZB_Oq135A,4032
1
+ plain/auth/CHANGELOG.md,sha256=VeYgWu5r6BNrYZjcPfSSif2vs7WM8wFRBHNQEINk6KY,8901
2
+ plain/auth/README.md,sha256=wL184DYe9n6FqYR4IzBlN6h-EQsSy-gZA-c9x1w7e7U,4026
3
3
  plain/auth/__init__.py,sha256=CrOsS74CPGN1nPTTfie13mPgdyVLRyZ1YwDPIA77uaA,179
4
4
  plain/auth/default_settings.py,sha256=65VzDn3j61OMn78Lg6Zuds4A8QKzJJ_0G9KoFqAOIRo,466
5
5
  plain/auth/requests.py,sha256=jUlMTOWFt0qfDF_uVkOqaP9rZiCLrAofsmirCwyRGEE,880
@@ -7,8 +7,8 @@ plain/auth/sessions.py,sha256=xDp1EiB0cV5w3L5XioqO8vs77wnF8cvreExms3-e744,6015
7
7
  plain/auth/templates.py,sha256=CVtuIdBgOgYB2o61zpOPJb6nMx_gU61i_3PDQx8FjVs,770
8
8
  plain/auth/test.py,sha256=SHawhwarJEMVfaLkjpiuFVSWZoGIMwhzXreU_T1zvCE,1599
9
9
  plain/auth/utils.py,sha256=9kKWh1QqxA8Esct-jBvTCdjBYOHpO_Tg1YeV9WxYmxg,1362
10
- plain/auth/views.py,sha256=zQO0LFioYIv35xXe1RBx77MLIJjog1neuX7aIT0wLhE,4943
11
- plain_auth-0.23.0.dist-info/METADATA,sha256=8CCcWoKfBjxlFTsykBTgexSgSqDSvoUR8ZnHONQBdwg,4425
12
- plain_auth-0.23.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
13
- plain_auth-0.23.0.dist-info/licenses/LICENSE,sha256=m0D5O7QoH9l5Vz_rrX_9r-C8d9UNr_ciK6Qwac7o6yo,3175
14
- plain_auth-0.23.0.dist-info/RECORD,,
10
+ plain/auth/views.py,sha256=Nu4adJ9bhFdiPkGOVqt7BbIA150HG1ojSFEqAnIO3P8,4923
11
+ plain_auth-0.24.0.dist-info/METADATA,sha256=6tF2zaZLavS1aiZN6FVw3keWoBakjmxPRRtEQdcHxjw,4419
12
+ plain_auth-0.24.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
13
+ plain_auth-0.24.0.dist-info/licenses/LICENSE,sha256=m0D5O7QoH9l5Vz_rrX_9r-C8d9UNr_ciK6Qwac7o6yo,3175
14
+ plain_auth-0.24.0.dist-info/RECORD,,