plain.redirection 0.35.6__tar.gz → 0.35.7__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_redirection-0.35.6 → plain_redirection-0.35.7}/PKG-INFO +2 -2
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/plain/redirection/CHANGELOG.md +10 -0
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/plain/redirection/README.md +1 -1
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/pyproject.toml +1 -1
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/.gitignore +0 -0
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/LICENSE +0 -0
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/README.md +0 -0
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/plain/redirection/__init__.py +0 -0
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/plain/redirection/admin.py +0 -0
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/plain/redirection/chores.py +0 -0
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/plain/redirection/config.py +0 -0
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/plain/redirection/default_settings.py +0 -0
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/plain/redirection/middleware.py +0 -0
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/plain/redirection/migrations/0001_initial.py +0 -0
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/plain/redirection/migrations/0002_rename_plainredire_created_d5f0c7_idx_plainredirection_notfoundlog_created_at_idx_and_more.py +0 -0
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/plain/redirection/migrations/0003_redirectlog_plainredirection_redirectlog_redirect_id_idx.py +0 -0
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/plain/redirection/migrations/__init__.py +0 -0
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/plain/redirection/models.py +0 -0
- {plain_redirection-0.35.6 → plain_redirection-0.35.7}/plain/redirection/templates/admin/plainredirection/redirect_form.html +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: plain.redirection
|
|
3
|
-
Version: 0.35.
|
|
3
|
+
Version: 0.35.7
|
|
4
4
|
Summary: A flexible URL redirection system with admin interface and logging.
|
|
5
5
|
Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
|
|
6
6
|
License-Expression: BSD-3-Clause
|
|
@@ -57,7 +57,7 @@ Redirect.query.create(
|
|
|
57
57
|
# Disable a redirect without deleting it
|
|
58
58
|
redirect = Redirect.query.get(from_pattern="/old-page/")
|
|
59
59
|
redirect.enabled = False
|
|
60
|
-
redirect.
|
|
60
|
+
redirect.update()
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
When multiple redirects could match, you can control priority with the `order` field. Lower values are checked first.
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# plain-redirection changelog
|
|
2
2
|
|
|
3
|
+
## [0.35.7](https://github.com/dropseed/plain/releases/plain-redirection@0.35.7) (2026-06-03)
|
|
4
|
+
|
|
5
|
+
### What's changed
|
|
6
|
+
|
|
7
|
+
- Docs: README model-write example updated from `.save()` to `.create()` for plain.postgres 0.106.0. ([f75deb3ba2](https://github.com/dropseed/plain/commit/f75deb3ba2))
|
|
8
|
+
|
|
9
|
+
### Upgrade instructions
|
|
10
|
+
|
|
11
|
+
- No changes required.
|
|
12
|
+
|
|
3
13
|
## [0.35.6](https://github.com/dropseed/plain/releases/plain-redirection@0.35.6) (2026-05-25)
|
|
4
14
|
|
|
5
15
|
### What's changed
|
|
@@ -45,7 +45,7 @@ Redirect.query.create(
|
|
|
45
45
|
# Disable a redirect without deleting it
|
|
46
46
|
redirect = Redirect.query.get(from_pattern="/old-page/")
|
|
47
47
|
redirect.enabled = False
|
|
48
|
-
redirect.
|
|
48
|
+
redirect.update()
|
|
49
49
|
```
|
|
50
50
|
|
|
51
51
|
When multiple redirects could match, you can control priority with the `order` field. Lower values are checked first.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "plain.redirection"
|
|
3
|
-
version = "0.35.
|
|
3
|
+
version = "0.35.7"
|
|
4
4
|
description = "A flexible URL redirection system with admin interface and logging."
|
|
5
5
|
authors = [{ name = "Dave Gaeddert", email = "dave.gaeddert@dropseed.dev" }]
|
|
6
6
|
readme = "README.md"
|
|
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
|
{plain_redirection-0.35.6 → plain_redirection-0.35.7}/plain/redirection/migrations/0001_initial.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{plain_redirection-0.35.6 → plain_redirection-0.35.7}/plain/redirection/migrations/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|