plain 0.55.0__py3-none-any.whl → 0.56.1__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/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # plain changelog
2
2
 
3
+ ## [0.56.1](https://github.com/dropseed/plain/releases/plain@0.56.1) (2025-07-30)
4
+
5
+ ### What's changed
6
+
7
+ - Improved `plain install` command instructions to be more explicit about completing code modifications ([83292225db](https://github.com/dropseed/plain/commit/83292225db))
8
+
9
+ ### Upgrade instructions
10
+
11
+ - No changes required
12
+
13
+ ## [0.56.0](https://github.com/dropseed/plain/releases/plain@0.56.0) (2025-07-25)
14
+
15
+ ### What's changed
16
+
17
+ - Added `plain install` command to install Plain packages with agent-assisted setup ([bf1873e](https://github.com/dropseed/plain/commit/bf1873eb81))
18
+ - Added `--print` option to agent commands (`plain install` and `plain upgrade`) to print prompts without running the agent ([9721331](https://github.com/dropseed/plain/commit/9721331e40))
19
+ - The `plain docs` command now automatically converts hyphens to dots in package names (e.g., `plain-models` → `plain.models`) ([1e3edc1](https://github.com/dropseed/plain/commit/1e3edc10f7))
20
+ - Moved `plain-upgrade` functionality into plain core, eliminating the need for a separate package ([473f9bb](https://github.com/dropseed/plain/commit/473f9bb718))
21
+
22
+ ### Upgrade instructions
23
+
24
+ - No changes required
25
+
3
26
  ## [0.55.0](https://github.com/dropseed/plain/releases/plain@0.55.0) (2025-07-22)
4
27
 
5
28
  ### What's changed
plain/assets/README.md CHANGED
@@ -2,7 +2,13 @@
2
2
 
3
3
  **Serve static assets (CSS, JS, images, etc.) directly or from a CDN.**
4
4
 
5
- ## Usage
5
+ - [Overview](#overview)
6
+ - [Local development](#local-development)
7
+ - [Production deployment](#production-deployment)
8
+ - [Using `AssetView` directly](#using-assetview-directly)
9
+ - [FAQs](#faqs)
10
+
11
+ ## Overview
6
12
 
7
13
  To serve assets, put them in `app/assets` or `app/{package}/assets`.
8
14
 
@@ -62,7 +68,7 @@ class AppRouter(Router):
62
68
 
63
69
  ## FAQs
64
70
 
65
- ### How do you reference assets in Python code?
71
+ #### How do you reference assets in Python code?
66
72
 
67
73
  There is a [`get_asset_url`](./urls.py#get_asset_url) function that you can use to get the URL of an asset in Python code. This is useful if you need to reference an asset in a non-template context, such as in a redirect or an API response.
68
74
 
@@ -72,7 +78,7 @@ from plain.assets.urls import get_asset_url
72
78
  url = get_asset_url("css/style.css")
73
79
  ```
74
80
 
75
- ### What if I need the files in a different location?
81
+ #### What if I need the files in a different location?
76
82
 
77
83
  The generated/copied files are stored in `{repo}/.plain/assets/compiled`. If you need them to be somewhere else, try simply moving them after compilation.
78
84
 
@@ -81,7 +87,7 @@ plain build
81
87
  mv .plain/assets/compiled /path/to/your/static
82
88
  ```
83
89
 
84
- ### How do I upload the assets to a CDN?
90
+ #### How do I upload the assets to a CDN?
85
91
 
86
92
  The steps for this will vary, but the general idea is to compile them, and then upload the compiled assets from their [compiled location](compile.py#get_compiled_path).
87
93
 
@@ -103,7 +109,7 @@ Use the [`ASSETS_BASE_URL`](../runtime/global_settings.py#ASSETS_BASE_URL) setti
103
109
  ASSETS_BASE_URL = "https://cdn.example.com/"
104
110
  ```
105
111
 
106
- ### Why aren't the originals copied to the compiled directory?
112
+ #### Why aren't the originals copied to the compiled directory?
107
113
 
108
114
  The default behavior is to fingerprint assets, which is an exact copy of the original file but with a different filename. The originals aren't copied over because you should generally always use this fingerprinted path (that automatically uses longer-lived caching).
109
115
 
plain/chores/README.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  **Routine maintenance tasks.**
4
4
 
5
+ - [Overview](#overview)
6
+ - [Running chores](#running-chores)
7
+ - [Writing chores](#writing-chores)
8
+
9
+ ## Overview
10
+
5
11
  Chores are registered functions that can be run at any time to keep an app in a desirable state.
6
12
 
7
13
  ![](https://assets.plainframework.com/docs/plain-chores-run.png)
plain/cli/README.md CHANGED
@@ -2,67 +2,18 @@
2
2
 
3
3
  **The `plain` CLI and how to add your own commands to it.**
4
4
 
5
+ - [Overview](#overview)
6
+ - [Adding commands](#adding-commands)
7
+
8
+ ## Overview
9
+
5
10
  Commands are written using [Click](https://click.palletsprojects.com/en/8.1.x/)
6
11
  (one of Plain's few dependencies),
7
12
  which has been one of those most popular CLI frameworks in Python for a long time.
8
13
 
9
- ## Built-in commands
10
-
11
- ### `plain build`
12
-
13
- Compile static assets (used in the deploy/production process).
14
-
15
- Automatically runs `plain tailwind build` if [plain.tailwind](/plain-tailwind/) is installed.
16
-
17
- ### `plain create`
18
-
19
- Create a new local package.
20
-
21
- ### `plain preflight`
22
-
23
- Run preflight checks to ensure your app is ready to run.
24
-
25
- ### `plain run`
26
-
27
- Run a Python script in the context of your app.
28
-
29
- ### `plain setting`
30
-
31
- View the runtime value of a named setting.
32
-
33
- ### `plain help`
34
-
35
- Print help for all available commands and subcommands.
36
- Each command's help output is prefixed with the full command name for
37
- readability.
38
-
39
- ### `plain shell`
40
-
41
- Open a Python shell with the Plain loaded.
42
-
43
- To auto-load models or run other code at shell launch,
44
- create an `app/shell.py` and it will be imported automatically.
45
-
46
- ```python
47
- # app/shell.py
48
- from app.organizations.models import Organization
49
-
50
- __all__ = [
51
- "Organization",
52
- ]
53
- ```
54
-
55
- ### `plain urls list`
56
-
57
- List all the URL patterns in your app.
58
-
59
- ### `plain utils generate-secret-key`
60
-
61
- Generate a new secret key for your app, to be used in `settings.SECRET_KEY`.
62
-
63
14
  ## Adding commands
64
15
 
65
- The `register_cli` decorator can be used to add your own commands to the `plain` CLI.
16
+ The [`register_cli`](./registry.py#register_cli) decorator can be used to add your own commands to the `plain` CLI.
66
17
 
67
18
  ```python
68
19
  import click
plain/cli/agent.py ADDED
@@ -0,0 +1,44 @@
1
+ import shlex
2
+ import subprocess
3
+
4
+ import click
5
+
6
+
7
+ def prompt_agent(
8
+ prompt: str, agent_command: str | None = None, print_only: bool = False
9
+ ) -> bool:
10
+ """
11
+ Run an agent command with the given prompt, or display the prompt for manual copying.
12
+
13
+ Args:
14
+ prompt: The prompt to send to the agent
15
+ agent_command: Optional command to run (e.g., "claude code"). If not provided,
16
+ will check the PLAIN_AGENT_COMMAND environment variable.
17
+ print_only: If True, always print the prompt instead of running the agent
18
+
19
+ Returns:
20
+ True if the agent command succeeded (or no agent command was provided),
21
+ False if the agent command failed.
22
+ """
23
+ if print_only or not agent_command:
24
+ click.echo(prompt)
25
+ if not print_only:
26
+ click.secho(
27
+ "\nCopy the prompt above to a coding agent. To run an agent automatically, use --agent-command or set the PLAIN_AGENT_COMMAND environment variable.",
28
+ dim=True,
29
+ italic=True,
30
+ err=True,
31
+ )
32
+ return True
33
+ else:
34
+ cmd = shlex.split(agent_command)
35
+ cmd.append(prompt)
36
+ result = subprocess.run(cmd, check=False)
37
+ if result.returncode != 0:
38
+ click.secho(
39
+ f"Agent command failed with exit code {result.returncode}",
40
+ fg="red",
41
+ err=True,
42
+ )
43
+ return False
44
+ return True
plain/cli/core.py CHANGED
@@ -12,11 +12,13 @@ from .chores import chores
12
12
  from .docs import docs
13
13
  from .formatting import PlainContext
14
14
  from .help import help_cmd
15
+ from .install import install
15
16
  from .preflight import preflight_checks
16
17
  from .registry import cli_registry
17
18
  from .scaffold import create
18
19
  from .settings import setting
19
20
  from .shell import run, shell
21
+ from .upgrade import upgrade
20
22
  from .urls import urls
21
23
  from .utils import utils
22
24
 
@@ -37,6 +39,8 @@ plain_cli.add_command(changelog)
37
39
  plain_cli.add_command(setting)
38
40
  plain_cli.add_command(shell)
39
41
  plain_cli.add_command(run)
42
+ plain_cli.add_command(install)
43
+ plain_cli.add_command(upgrade)
40
44
  plain_cli.add_command(help_cmd)
41
45
 
42
46
 
plain/cli/docs.py CHANGED
@@ -40,6 +40,9 @@ def docs(module, llm, open):
40
40
  return
41
41
 
42
42
  if module:
43
+ # Convert hyphens to dots (e.g., plain-models -> plain.models)
44
+ module = module.replace("-", ".")
45
+
43
46
  # Automatically prefix if we need to
44
47
  if not module.startswith("plain"):
45
48
  module = f"plain.{module}"
plain/cli/install.py ADDED
@@ -0,0 +1,82 @@
1
+ import subprocess
2
+ import sys
3
+
4
+ import click
5
+
6
+ from .agent import prompt_agent
7
+
8
+
9
+ @click.command()
10
+ @click.argument("packages", nargs=-1, required=True)
11
+ @click.option(
12
+ "--agent-command",
13
+ envvar="PLAIN_AGENT_COMMAND",
14
+ help="Run command with generated prompt",
15
+ )
16
+ @click.option(
17
+ "--print",
18
+ "print_only",
19
+ is_flag=True,
20
+ help="Print the prompt without running the agent",
21
+ )
22
+ def install(
23
+ packages: tuple[str, ...],
24
+ agent_command: str | None = None,
25
+ print_only: bool = False,
26
+ ) -> None:
27
+ """Install Plain packages with the help of an agent."""
28
+ # Validate all package names
29
+ invalid_packages = [pkg for pkg in packages if not pkg.startswith("plain")]
30
+ if invalid_packages:
31
+ raise click.UsageError(
32
+ f"The following packages do not start with 'plain': {', '.join(invalid_packages)}\n"
33
+ "This command is only for Plain framework packages."
34
+ )
35
+
36
+ # Install all packages first
37
+ if len(packages) == 1:
38
+ click.secho(f"Installing {packages[0]}...", bold=True, err=True)
39
+ else:
40
+ click.secho(f"Installing {len(packages)} packages...", bold=True, err=True)
41
+ for pkg in packages:
42
+ click.secho(f" - {pkg}", err=True)
43
+ click.echo(err=True)
44
+
45
+ install_cmd = ["uv", "add"] + list(packages)
46
+ result = subprocess.run(install_cmd, check=False, stderr=sys.stderr)
47
+
48
+ if result.returncode != 0:
49
+ raise click.ClickException("Failed to install packages")
50
+
51
+ click.echo(err=True)
52
+ if len(packages) == 1:
53
+ click.secho(f"✓ {packages[0]} installed successfully", fg="green", err=True)
54
+ else:
55
+ click.secho(
56
+ f"✓ {len(packages)} packages installed successfully", fg="green", err=True
57
+ )
58
+ click.echo(err=True)
59
+
60
+ # Build the prompt for the agent to complete setup
61
+ lines = [
62
+ f"Complete the setup for the following Plain packages that were just installed: {', '.join(packages)}",
63
+ "",
64
+ "## Instructions",
65
+ "",
66
+ "For each package:",
67
+ "1. Run `uv run plain docs <package>` and read the installation instructions",
68
+ "2. If the docs point out that it is a --dev tool, move it to the dev dependencies in pyproject.toml: `uv remove <package> && uv add <package> --dev`",
69
+ "3. Go through the installation instructions and complete any code modifications that are needed",
70
+ "",
71
+ "DO NOT commit any changes",
72
+ "",
73
+ "Report back with:",
74
+ "- Whether the setup completed successfully",
75
+ "- Any manual steps that the user will need to complete",
76
+ "- Any issues or errors encountered",
77
+ ]
78
+
79
+ prompt = "\n".join(lines)
80
+ success = prompt_agent(prompt, agent_command, print_only)
81
+ if not success:
82
+ raise click.Abort()
plain/cli/upgrade.py ADDED
@@ -0,0 +1,168 @@
1
+ import subprocess
2
+ import sys
3
+ import tomllib
4
+ from pathlib import Path
5
+
6
+ import click
7
+
8
+ from .agent import prompt_agent
9
+
10
+ LOCK_FILE = Path("uv.lock")
11
+
12
+
13
+ @click.command()
14
+ @click.argument("packages", nargs=-1)
15
+ @click.option(
16
+ "--diff", is_flag=True, help="Read versions from unstaged uv.lock changes"
17
+ )
18
+ @click.option(
19
+ "--agent-command",
20
+ envvar="PLAIN_AGENT_COMMAND",
21
+ help="Run command with generated prompt",
22
+ )
23
+ @click.option(
24
+ "--print",
25
+ "print_only",
26
+ is_flag=True,
27
+ help="Print the prompt without running the agent",
28
+ )
29
+ def upgrade(
30
+ packages: tuple[str, ...],
31
+ diff: bool,
32
+ agent_command: str | None = None,
33
+ print_only: bool = False,
34
+ ) -> None:
35
+ """Upgrade Plain packages with the help of an agent."""
36
+ if not packages:
37
+ click.secho("Getting installed packages...", bold=True, err=True)
38
+ packages = tuple(sorted(get_installed_plain_packages()))
39
+ for pkg in packages:
40
+ click.secho(f"- {click.style(pkg, fg='yellow')}", err=True)
41
+ click.echo(err=True)
42
+
43
+ if not packages:
44
+ raise click.UsageError("No plain packages found or specified.")
45
+
46
+ if diff:
47
+ before_after = versions_from_diff(packages)
48
+ else:
49
+ before_after = upgrade_packages(packages)
50
+
51
+ # Remove all packages that were not upgraded
52
+ before_after = {
53
+ pkg: versions
54
+ for pkg, versions in before_after.items()
55
+ if versions[0] != versions[1]
56
+ }
57
+
58
+ if not before_after:
59
+ click.secho(
60
+ "No packages were upgraded. If uv.lock has already been updated, use --diff instead.",
61
+ fg="green",
62
+ err=True,
63
+ )
64
+ return
65
+
66
+ prompt = build_prompt(before_after)
67
+ success = prompt_agent(prompt, agent_command, print_only)
68
+ if not success:
69
+ raise click.Abort()
70
+
71
+
72
+ def get_installed_plain_packages() -> list[str]:
73
+ lock_text = LOCK_FILE.read_text()
74
+ data = tomllib.loads(lock_text)
75
+ names: list[str] = []
76
+ for pkg in data.get("package", []):
77
+ name = pkg.get("name", "")
78
+ if name.startswith("plain") and name != "plain-upgrade":
79
+ names.append(name)
80
+ return names
81
+
82
+
83
+ def parse_lock_versions(lock_text: str, packages: set[str]) -> dict[str, str]:
84
+ data = tomllib.loads(lock_text)
85
+ versions: dict[str, str] = {}
86
+ for pkg in data.get("package", []):
87
+ name = pkg.get("name")
88
+ if name in packages:
89
+ versions[name] = pkg.get("version")
90
+ return versions
91
+
92
+
93
+ def versions_from_diff(
94
+ packages: tuple[str, ...],
95
+ ) -> dict[str, tuple[str | None, str | None]]:
96
+ result = subprocess.run(
97
+ ["git", "status", "--porcelain", str(LOCK_FILE)], capture_output=True, text=True
98
+ )
99
+ if not result.stdout.strip():
100
+ raise click.UsageError(
101
+ "--diff specified but uv.lock has no uncommitted changes"
102
+ )
103
+
104
+ prev_text = subprocess.run(
105
+ ["git", "show", f"HEAD:{LOCK_FILE}"], capture_output=True, text=True, check=True
106
+ ).stdout
107
+ current_text = LOCK_FILE.read_text()
108
+
109
+ packages_set = set(packages)
110
+ before = parse_lock_versions(prev_text, packages_set)
111
+ after = parse_lock_versions(current_text, packages_set)
112
+
113
+ return {pkg: (before.get(pkg), after.get(pkg)) for pkg in packages}
114
+
115
+
116
+ def upgrade_packages(
117
+ packages: tuple[str, ...],
118
+ ) -> dict[str, tuple[str | None, str | None]]:
119
+ before = parse_lock_versions(LOCK_FILE.read_text(), set(packages))
120
+
121
+ upgrade_args = ["uv", "sync"]
122
+ for pkg in packages:
123
+ upgrade_args.extend(["--upgrade-package", pkg])
124
+
125
+ click.secho("Upgrading with uv sync...", bold=True, err=True)
126
+ subprocess.run(upgrade_args, check=True, stdout=sys.stderr)
127
+ click.echo(err=True)
128
+
129
+ after = parse_lock_versions(LOCK_FILE.read_text(), set(packages))
130
+ return {pkg: (before.get(pkg), after.get(pkg)) for pkg in packages}
131
+
132
+
133
+ def build_prompt(before_after: dict[str, tuple[str | None, str | None]]) -> str:
134
+ lines = [
135
+ "These packages have been updated and may require additional changes to the code:",
136
+ "",
137
+ ]
138
+ for pkg, (before, after) in before_after.items():
139
+ lines.append(f"- {pkg}: {before} -> {after}")
140
+
141
+ lines.extend(
142
+ [
143
+ "",
144
+ "## Instructions",
145
+ "",
146
+ "1. **Process each package systematically:**",
147
+ " - For each package, run: `uv run plain-changelog {package} --from {before} --to {after}`",
148
+ " - Read the 'Upgrade instructions' section carefully",
149
+ " - If it says 'No changes required', skip to the next package",
150
+ " - Apply any required code changes as specified",
151
+ "",
152
+ "2. **Important guidelines:**",
153
+ " - Process ALL packages before testing or validation",
154
+ " - After all packages are updated, run `uv run plain fix --unsafe-fixes` and `uv run plain pre-commit` to check results",
155
+ " - DO NOT commit any changes",
156
+ " - DO NOT run `plain migrate` with the `--no-backup` option",
157
+ " - Keep code changes minimal and focused - avoid unnecessary comments",
158
+ "",
159
+ "3. **Available tools:**",
160
+ " - Python shell: `uv run python`",
161
+ "",
162
+ "4. **Workflow:**",
163
+ " - Review changelog for each package → Apply changes → Move to next package",
164
+ " - Only after all packages: run pre-commit checks",
165
+ " - Report any issues or conflicts encountered",
166
+ ]
167
+ )
168
+ return "\n".join(lines)
plain/csrf/README.md CHANGED
@@ -2,7 +2,12 @@
2
2
 
3
3
  **Cross-Site Request Forgery (CSRF) protection.**
4
4
 
5
- Plain protects against [CSRF attacks](https://en.wikipedia.org/wiki/Cross-site_request_forgery) through a [middleware](middleware.py) that compares the generated `csrftoken` cookie with the CSRF token from the request (either `_csrftoken` in form data or the `CSRF-Token` header).
5
+ - [Overview](#overview)
6
+ - [Usage](#usage)
7
+
8
+ ## Overview
9
+
10
+ Plain protects against [CSRF attacks](https://en.wikipedia.org/wiki/Cross-site_request_forgery) through a [middleware](./middleware.py#CsrfViewMiddleware) that compares the generated `csrftoken` cookie with the CSRF token from the request (either `_csrftoken` in form data or the `CSRF-Token` header).
6
11
 
7
12
  ## Usage
8
13
 
plain/forms/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  **HTML form handling and validation.**
4
4
 
5
+ - [Overview](#overview)
6
+
7
+ ## Overview
8
+
5
9
  The `Form` and `Field` classes help output, parse, and validate form data from an HTTP request. Unlike other frameworks, the HTML inputs are not rendered automatically, though there are some helpers for you to do your own rendering.
6
10
 
7
11
  With forms, you will typically use one of the built-in view classes to tie everything together.
plain/http/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  **HTTP request and response handling.**
4
4
 
5
+ - [Overview](#overview)
6
+
7
+ ## Overview
8
+
5
9
  Typically you will interact with [request](request.py#HttpRequest) and [response](response.py#ResponseBase) objects in your views and middleware.
6
10
 
7
11
  ```python
plain/logs/README.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  **Logging configuration and utilities.**
4
4
 
5
+ - [Overview](#overview)
6
+ - [`app_logger`](#app_logger)
7
+ - [`app_logger.kv`](#app_loggerkv)
8
+ - [Logging settings](#logging-settings)
9
+
10
+ ## Overview
11
+
5
12
  In Python, configuring logging can be surprisingly complex. For most use cases, Plain provides a [default configuration](./configure.py) that "just works".
6
13
 
7
14
  By default, both the `plain` and `app` loggers are set to the `INFO` level. You can quickly change this by using the `PLAIN_LOG_LEVEL` and `APP_LOG_LEVEL` environment variables.
plain/packages/README.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  **Install Python modules as Plain packages.**
4
4
 
5
+ - [Overview](#overview)
6
+ - [Creating app packages](#creating-app-packages)
7
+ - [Package settings](#package-settings)
8
+ - [Package `ready()` method](#package-ready-method)
9
+
10
+ ## Overview
11
+
5
12
  Most Python modules that you use with Plain will need to be installed via `settings.INSTALLED_PACKAGES`. This is what enables template detection, per-package settings, database models, and other features.
6
13
 
7
14
  A package can either be a local module inside of your `app`, or a third-party package from PyPI.
plain/preflight/README.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  **System checks for Plain applications.**
4
4
 
5
+ - [Overview](#overview)
6
+ - [Development](#development)
7
+ - [Deployment](#deployment)
8
+ - [Custom preflight checks](#custom-preflight-checks)
9
+ - [Silencing preflight checks](#silencing-preflight-checks)
10
+
11
+ ## Overview
12
+
5
13
  Preflight checks help identify issues with your settings or environment before running your application.
6
14
 
7
15
  ```bash
plain/runtime/README.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  **Access app and package settings at runtime.**
4
4
 
5
+ - [Overview](#overview)
6
+ - [Environment variables](#environment-variables)
7
+ - [.env files](#env-files)
8
+ - [Package settings](#package-settings)
9
+ - [Custom app-wide settings](#custom-app-wide-settings)
10
+ - [Using Plain in other environments](#using-plain-in-other-environments)
11
+
12
+ ## Overview
13
+
5
14
  Plain is configured by "settings", which are ultimately just Python variables. Most settings have default values which can be overidden either by your `app/settings.py` file or by environment variables.
6
15
 
7
16
  ```python
plain/signals/README.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  **Run code when certain events happen.**
4
4
 
5
+ - [Overview](#overview)
6
+
7
+ ## Overview
8
+
5
9
  ```python
6
10
  from plain.signals import request_finished
7
11
 
plain/templates/README.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  **Render HTML templates using Jinja.**
4
4
 
5
+ - [Overview](#overview)
6
+ - [Template files](#template-files)
7
+ - [Extending Jinja](#extending-jinja)
8
+ - [Rendering templates manually](#rendering-templates-manually)
9
+
10
+ ## Overview
11
+
5
12
  Plain uses Jinja2 for template rendering. You can refer to the [Jinja documentation](https://jinja.palletsprojects.com/en/stable/api/) for all of the features available.
6
13
 
7
14
  In general, templates are used in combination with `TemplateView` or a more specific subclass of it.
@@ -37,7 +44,7 @@ All template directories are "merged" together, allowing you to override templat
37
44
 
38
45
  ## Extending Jinja
39
46
 
40
- Plain includes a set of default [global variables](jinja/globals.py) and [filters](jinja/filters.py). You can register additional extensions, globals, or filters either in a package or in your app. Typically this will be in `app/templates.py` or `<pkg>/templates.py`, which are automatically imported.
47
+ Plain includes a set of default [global variables](./jinja/globals.py) and [filters](./jinja/filters.py). You can register additional extensions, globals, or filters either in a package or in your app. Typically this will be in `app/templates.py` or `<pkg>/templates.py`, which are automatically imported.
41
48
 
42
49
  ```python
43
50
  # app/templates.py
@@ -71,7 +78,7 @@ class HTMXJSExtension(InclusionTagExtension):
71
78
 
72
79
  ## Rendering templates manually
73
80
 
74
- Templates can also be rendered manually using the [`Template` class](core.py#Template).
81
+ Templates can also be rendered manually using the [`Template` class](./core.py#Template).
75
82
 
76
83
  ```python
77
84
  from plain.templates import Template
plain/test/README.md CHANGED
@@ -2,7 +2,11 @@
2
2
 
3
3
  **Testing utilities for Plain.**
4
4
 
5
- This module provides a the [`Client`](client.py#Client) and [`RequestFactory`](client.py#RequestFactory) classes to facilitate testing requests and responses.
5
+ - [Overview](#overview)
6
+
7
+ ## Overview
8
+
9
+ This module provides the [`Client`](client.py#Client) and [`RequestFactory`](client.py#RequestFactory) classes to facilitate testing requests and responses.
6
10
 
7
11
  ```python
8
12
  from plain.test import Client
plain/urls/README.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  **Route requests to views.**
4
4
 
5
+ - [Overview](#overview)
6
+ - [Reversing URLs](#reversing-urls)
7
+ - [URL args and kwargs](#url-args-and-kwargs)
8
+ - [Package routers](#package-routers)
9
+
10
+ ## Overview
11
+
5
12
  URLs are typically the "entrypoint" to your app. Virtually all request handling up to this point happens behind the scenes, and then you decide how to route specific URL patterns to your views.
6
13
 
7
14
  The `URLS_ROUTER` is the primary router that handles all incoming requests. It is defined in your `app/settings.py` file. This will typically point to a `Router` class in your `app.urls` module.
plain/utils/README.md CHANGED
@@ -1,5 +1,9 @@
1
- # Utilities
1
+ # Utils
2
2
 
3
3
  **Various utilities for text manipulation, parsing, dates, and more.**
4
4
 
5
+ - [Overview](#overview)
6
+
7
+ ## Overview
8
+
5
9
  The utilities aren't going to be documented in detail here. Take a look at the source code for more information.
plain/views/README.md CHANGED
@@ -2,6 +2,19 @@
2
2
 
3
3
  **Take a request, return a response.**
4
4
 
5
+ - [Overview](#overview)
6
+ - [HTTP methods -> class methods](#http-methods---class-methods)
7
+ - [Return types](#return-types)
8
+ - [Template views](#template-views)
9
+ - [Form views](#form-views)
10
+ - [Object views](#object-views)
11
+ - [Response exceptions](#response-exceptions)
12
+ - [Error views](#error-views)
13
+ - [Redirect views](#redirect-views)
14
+ - [CSRF exempt views](#csrf-exempt-views)
15
+
16
+ ## Overview
17
+
5
18
  Plain views are written as classes,
6
19
  with a straightforward API that keeps simple views simple,
7
20
  but gives you the power of a full class to handle more complex cases.
@@ -17,7 +30,7 @@ class ExampleView(View):
17
30
 
18
31
  ## HTTP methods -> class methods
19
32
 
20
- The HTTP methd of the request will map to a class method of the same name on the view.
33
+ The HTTP method of the request will map to a class method of the same name on the view.
21
34
 
22
35
  If a request comes in and there isn't a matching method on the view,
23
36
  Plain will return a `405 Method Not Allowed` response.
@@ -46,7 +59,7 @@ class ExampleView(View):
46
59
  pass
47
60
  ```
48
61
 
49
- The [base `View` class](./base.py) defines default `options` and `head` behavior,
62
+ The [base `View` class](./base.py#View) defines default `options` and `head` behavior,
50
63
  but you can override these too.
51
64
 
52
65
  ## Return types
@@ -87,9 +100,9 @@ class ExampleView(TemplateView):
87
100
  return context
88
101
  ```
89
102
 
90
- The `TemplateView` is also the base class for _most_ of the other built-in view classes.
103
+ The [`TemplateView`](./templates.py#TemplateView) is also the base class for _most_ of the other built-in view classes.
91
104
 
92
- Template views that don't need any custom context can use `TemplateView.as_view()` direcly in the URL route.
105
+ Template views that don't need any custom context can use `TemplateView.as_view()` directly in the URL route.
93
106
 
94
107
  ```python
95
108
  from plain.views import TemplateView
@@ -104,7 +117,7 @@ class AppRouter(Router):
104
117
 
105
118
  ## Form views
106
119
 
107
- Standard [forms](../forms) can be rendered and processed by a `FormView`.
120
+ Standard [forms](../forms) can be rendered and processed by a [`FormView`](./forms.py#FormView).
108
121
 
109
122
  ```python
110
123
  from plain.views import FormView
@@ -218,7 +231,7 @@ class ExampleListView(ListView):
218
231
  ## Response exceptions
219
232
 
220
233
  At any point in the request handling,
221
- a view can raise a `ResponseException` to immediately exit and return the wrapped response.
234
+ a view can raise a [`ResponseException`](./exceptions.py#ResponseException) to immediately exit and return the wrapped response.
222
235
 
223
236
  This isn't always necessary, but can be useful for raising rate limits or authorization errors when you're a couple layers deep in the view handling or helper functions.
224
237
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plain
3
- Version: 0.55.0
3
+ Version: 0.56.1
4
4
  Summary: A web framework for building products with Python.
5
5
  Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
6
6
  License-File: LICENSE
@@ -1,4 +1,4 @@
1
- plain/CHANGELOG.md,sha256=oujiZ46-0jKAXDWTLLOvkKo5VP84iyJWoCgc1jVNjSs,5964
1
+ plain/CHANGELOG.md,sha256=O3trliUx5vgGnIBDCSGO1laXxkCb7BXBIR61ZuXvP2M,7138
2
2
  plain/README.md,sha256=5BJyKhf0TDanWVbOQyZ3zsi5Lov9xk-LlJYCDWofM6Y,4078
3
3
  plain/__main__.py,sha256=GK39854Lc_LO_JP8DzY9Y2MIQ4cQEl7SXFJy244-lC8,110
4
4
  plain/debug.py,sha256=XdjnXcbPGsi0J2SpHGaLthhYU5AjhBlkHdemaP4sbYY,758
@@ -8,25 +8,27 @@ plain/paginator.py,sha256=iXiOyt2r_YwNrkqCRlaU7V-M_BKaaQ8XZElUBVa6yeU,5844
8
8
  plain/signing.py,sha256=r2KvCOxkrSWCULFxYa9BHYx3L3a2oLq8RDnq_92inTw,8207
9
9
  plain/validators.py,sha256=TePzFHzwR4JXUAZ_Y2vC6mkKgVxHX3QBXI6Oex0rV8c,19236
10
10
  plain/wsgi.py,sha256=R6k5FiAElvGDApEbMPTT0MPqSD7n2e2Az5chQqJZU0I,236
11
- plain/assets/README.md,sha256=8OW6y4rs0PqGvcbrndPJjOndcDUQUAgnO-Hj_PDHpWI,4151
11
+ plain/assets/README.md,sha256=iRZHHoXZCEFooXoDYSomF12XTcDFl7oNbRHpAFwxTM8,4349
12
12
  plain/assets/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  plain/assets/compile.py,sha256=DT85ygnNcY2_7VeozdsQlBvA-DzV7enUIMO_igJ1PjY,3296
14
14
  plain/assets/finders.py,sha256=2k8QZAbfUbc1LykxbzdazTSB6xNxJZnsZaGhWbSFZZs,1452
15
15
  plain/assets/fingerprints.py,sha256=D-x0o49sUuWfx86BssDyo87yJCjWrV0go6JGPagvMAE,1365
16
16
  plain/assets/urls.py,sha256=zQUA8bAlh9qVqskPJJrqWd9DjvetOi5jPSqy4vUX0J4,1161
17
17
  plain/assets/views.py,sha256=T_0Qh6v9qBerEBYbhToigwOzsij-x1z_R-1zETQcIh0,9447
18
- plain/chores/README.md,sha256=Da8Nw8ZF7PlAE_iVb0AqJGbLOu0F6HC0cj1K451KBak,1946
18
+ plain/chores/README.md,sha256=5tIKRLg2I4P-jnfoizRn4fxtqQrjFEimkJ2ckddiGRQ,2056
19
19
  plain/chores/__init__.py,sha256=r9TXtQCH-VbvfnIJ5F8FxgQC35GRWFOfmMZN3q9niLg,67
20
20
  plain/chores/registry.py,sha256=V3WjuekRI22LFvJbqSkUXQtiOtuE2ZK8gKV1TRvxRUI,1866
21
- plain/cli/README.md,sha256=GzBry6mEilhM80SfVUg02ydGwAk0m-s6FAqQR1nRsMM,2022
21
+ plain/cli/README.md,sha256=5C7vsH0ISxu7q5H6buC25MBOILkI_rzdySitswpQgJw,1032
22
22
  plain/cli/__init__.py,sha256=6w9T7K2WrPwh6DcaMb2oNt_CWU6Bc57nUTO2Bt1p38Y,63
23
+ plain/cli/agent.py,sha256=T3jG9hpbndiBsRYf_MhT3GvHrnpLjCh3tgi4pR6Ipmg,1477
23
24
  plain/cli/build.py,sha256=Lo6AYghJz0DM9fIVUSiBSOKa5vR0XCOxZWEjza6sc8Q,3172
24
25
  plain/cli/changelog.py,sha256=j-k1yZk9mpm-fLZgeWastiyIisxNSuAJfXTQ2B6WQmk,3457
25
26
  plain/cli/chores.py,sha256=xXSSFvr8T5jWfLWqe6E8YVMw1BkQxyOHHVuY0x9RH0A,2412
26
- plain/cli/core.py,sha256=D3t83ujjjHayblM-RuttrGoNf8hMV9-l3zQsbhVAjWU,2991
27
- plain/cli/docs.py,sha256=5-2_nQnInZAzHu3VnMW88gZyrhukhdjrkMKTMt0RRpI,7367
27
+ plain/cli/core.py,sha256=HZZcDVNEMAhantDM4Hnug-SrwU3YgAq1-KDa3_a9-K0,3111
28
+ plain/cli/docs.py,sha256=MjFIpNc0FsHACi_spPVumXM-oPCi__3U0Jqf41lqjQM,7481
28
29
  plain/cli/formatting.py,sha256=1hZH13y1qwHcU2K2_Na388nw9uvoeQH8LrWL-O9h8Yc,2207
29
30
  plain/cli/help.py,sha256=NefZSEIixrX_WELVSnJDHRpLDWf7_4PXmkkMm3Q2mzo,787
31
+ plain/cli/install.py,sha256=wvEc3gLP5tvSb1Xwm2467DCXqCPTWxuzktGnlK94SGg,2784
30
32
  plain/cli/output.py,sha256=Fe3xS6Va4Bi1ZNrqi0nh09THTsdCyMW2b9SPY5I4n-o,1318
31
33
  plain/cli/preflight.py,sha256=8tHBD4L4nPLUKThfaYx3SUZSJzC48oV2m_Hbn6W4ODc,4124
32
34
  plain/cli/print.py,sha256=XraUYrgODOJquIiEv78wSCYGRBplHXtXSS9QtFG5hqY,217
@@ -35,18 +37,19 @@ plain/cli/scaffold.py,sha256=mcywA9DzfwoBSqWl5-Zpgcy1mTNUGEgdvoxXUrGcEVk,1351
35
37
  plain/cli/settings.py,sha256=9cx4bue664I2P7kUedlf4YhCPB0tSKSE4Q8mGyzEv2o,1995
36
38
  plain/cli/shell.py,sha256=iIwvlTdTBjLBBUdXMAmIRWSoynszOZI79-mrBg4RegU,1373
37
39
  plain/cli/startup.py,sha256=wLaFuyUb4ewWhtehBCGicrRCXIIGCRbeCT3ce9hUv-A,1022
40
+ plain/cli/upgrade.py,sha256=f1rL9M285i4D5UKlEk4ijmAUN3mAMfHCrbDPwBf1ePo,5514
38
41
  plain/cli/urls.py,sha256=ghCW36aRszxmTo06A50FIvYopb6kQ07QekkDzM6_A1o,3824
39
42
  plain/cli/utils.py,sha256=VwlIh0z7XxzVV8I3qM2kZo07fkJFPoeeVZa1ODG616k,258
40
- plain/csrf/README.md,sha256=nxCpPk1HF5eAM-7paxg9D-9RVCU9jXsSPAVHkJvA_DU,717
43
+ plain/csrf/README.md,sha256=cTqQ9oOa3BcMRhMPzqhI2wat1ZOS7aQwJTIFArdMTsk,794
41
44
  plain/csrf/middleware.py,sha256=U3B9R7ciO_UAf7O3jdNtVu6QZ_3Yrm8isRdnW6bVKX4,17401
42
45
  plain/csrf/views.py,sha256=HwQqfI6KPelHP9gSXhjfZaTLQic71PKsoZ6DPhr1rKI,572
43
- plain/forms/README.md,sha256=TawBdy1jP0-8HUsfUzd7vvgkwl3EJGejDxFhWR8F-80,2242
46
+ plain/forms/README.md,sha256=SeqRBAPynu-aNR8FPXesOIjPuUi4X1pT_ZlDK4bD7UA,2280
44
47
  plain/forms/__init__.py,sha256=UxqPwB8CiYPCQdHmUc59jadqaXqDmXBH8y4bt9vTPms,226
45
48
  plain/forms/boundfield.py,sha256=LhydhCVR0okrli0-QBMjGjAJ8-06gTCXVEaBZhBouQk,1741
46
49
  plain/forms/exceptions.py,sha256=NYk1wjYDkk-lA_XMJQDItOebQcL_m_r2eNRc2mkLQkg,315
47
50
  plain/forms/fields.py,sha256=OyL4eZIgJ_XMLPHGar17hLepFmwHV-hSnb_n7s18yUU,34709
48
51
  plain/forms/forms.py,sha256=hF7Dl8rEaiBTZhFQyfbh1Zf54BSEka8RYpBiGqkTa8I,10441
49
- plain/http/README.md,sha256=F9wbahgSU3jIDEG14gJjdPJRem4weUNvwnwhb7o3cu0,722
52
+ plain/http/README.md,sha256=hkjTJJ2_WEGm7vaIxjjNHrzD6EN5VI6pjDJPIR9l1jo,760
50
53
  plain/http/__init__.py,sha256=DIsDRbBsCGa4qZgq-fUuQS0kkxfbTU_3KpIM9VvH04w,1067
51
54
  plain/http/cookie.py,sha256=THd7nOl-2ugeBPKgOhbD87aM2oxUbNH8HWrarUn0fpM,1955
52
55
  plain/http/multipartparser.py,sha256=Z1dFJNAd8N5RHUuF67jh1jBfZOFepORsre_3ee6CgOQ,27266
@@ -69,32 +72,32 @@ plain/internal/middleware/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
69
72
  plain/internal/middleware/headers.py,sha256=ENIW1Gwat54hv-ejgp2R8QTZm-PlaI7k44WU01YQrNk,964
70
73
  plain/internal/middleware/https.py,sha256=XpuQK8HicYX1jNanQHqNgyQ9rqe4NLUOZO3ZzKdsP8k,1203
71
74
  plain/internal/middleware/slash.py,sha256=FMU8b9w0NSx4eJs9Y7Ew6RAoSTbUqe2oOM68kg3wOng,2817
72
- plain/logs/README.md,sha256=wXqqAQym4g6hUiJOothj-t0RacZLf2-o9JskoZhsehA,1276
75
+ plain/logs/README.md,sha256=ON6Zylg_WA_V7QiIbRY7sgsl2nfG7KFzIbxK2x3rPuc,1419
73
76
  plain/logs/__init__.py,sha256=rASvo4qFBDIHfkACmGLNGa6lRGbG9PbNjW6FmBt95ys,168
74
77
  plain/logs/configure.py,sha256=2kDJ-WPv3PV4H46mz5tTfzIa2kvN6cjVlb3t-AEbMyk,1307
75
78
  plain/logs/loggers.py,sha256=iz9SYcwP9w5QAuwpULl48SFkVyJuuMoQ_fdLgdCHpNg,2121
76
79
  plain/logs/utils.py,sha256=9UzdCCQXJinGDs71Ngw297mlWkhgZStSd67ya4NOW98,1257
77
- plain/packages/README.md,sha256=nU2GcoCGmzmVOYRIeF8hp40aza0FF1ckvGqD5jIxocs,2494
80
+ plain/packages/README.md,sha256=iNqMtwFDVNf2TqKUzLKQW5Y4_GsssmdB4cVerzu27Ro,2674
78
81
  plain/packages/__init__.py,sha256=OpQny0xLplPdPpozVUUkrW2gB-IIYyDT1b4zMzOcCC4,160
79
82
  plain/packages/config.py,sha256=2U7b1cp_kqIuLdSeHGCLrSUV77TdfGRsww3PcXOazaA,2910
80
83
  plain/packages/registry.py,sha256=6ogeHZ8t3kBSoLoI7998r0kIbkEPhLGn-7yi-1qVjVo,7969
81
- plain/preflight/README.md,sha256=9fE0Ql2JNd3CI420eg1sP_xmaim-6Ejlzi_hfk3tVS0,1511
84
+ plain/preflight/README.md,sha256=Ae7ujHmsJhTpRGX0pghBwGD2CG7SIxngenyb5CSbc2M,1721
82
85
  plain/preflight/__init__.py,sha256=j4-yPnrM5hmjumrdkBLOQjFHzRHpA6wCjiFpMNBjIqY,619
83
86
  plain/preflight/files.py,sha256=D_pBSwRXpXy2-3FWywweozuxrhIaR8w5hpPA2d6XMPs,522
84
87
  plain/preflight/messages.py,sha256=B6VyXzu7HTJHaPVK4G1L_1HVHG87CT7JPtcDk8QYSeE,2322
85
88
  plain/preflight/registry.py,sha256=vcqzaE1MIneNL_ydKPy_1zrSThnzsrWARSClLCJ-4b8,2331
86
89
  plain/preflight/security.py,sha256=oxUZBp2M0bpBfUoLYepIxoex2Y90nyjlrL8XU8UTHYY,2438
87
90
  plain/preflight/urls.py,sha256=cQ-WnFa_5oztpKdtwhuIGb7pXEml__bHsjs1SWO2YNI,1468
88
- plain/runtime/README.md,sha256=1h30eRTg5-lY-G7GF_4TdUiUcOLVzKR15mSrmyeU8eI,4584
91
+ plain/runtime/README.md,sha256=sTqXXJkckwqkk9O06XMMSNRokAYjrZBnB50JD36BsYI,4873
89
92
  plain/runtime/__init__.py,sha256=8GtvKROf3HUCtneDYXTbEioPcCtwnV76dP57n2PnjuE,2343
90
93
  plain/runtime/global_settings.py,sha256=MpJ6vtBMO2EYALaKXrtgcGoxLh9Y549zwwErC5D5K7I,5343
91
94
  plain/runtime/user_settings.py,sha256=OzMiEkE6ZQ50nxd1WIqirXPiNuMAQULklYHEzgzLWgA,11027
92
- plain/signals/README.md,sha256=FInfJXdVQkb7u93PvD8XgPbz_f6m0l2xIu_4PyttV1E,234
95
+ plain/signals/README.md,sha256=XefXqROlDhzw7Z5l_nx6Mhq6n9jjQ-ECGbH0vvhKWYg,272
93
96
  plain/signals/__init__.py,sha256=eAs0kLqptuP6I31dWXeAqRNji3svplpAV4Ez6ktjwXM,131
94
97
  plain/signals/dispatch/__init__.py,sha256=FzEygqV9HsM6gopio7O2Oh_X230nA4d5Q9s0sUjMq0E,292
95
98
  plain/signals/dispatch/dispatcher.py,sha256=VxSlqn9PCOTghPPJLOqZPs6FNQZfV2BJpMfFMSg6Dtc,11531
96
99
  plain/signals/dispatch/license.txt,sha256=o9EhDhsC4Q5HbmD-IfNGVTEkXtNE33r5rIt3lleJ8gc,1727
97
- plain/templates/README.md,sha256=G43IdTRJX6mfxsExUTQf9QAwPeHLsDgY7PvKXdx4l6g,2432
100
+ plain/templates/README.md,sha256=3eCnQvgLNAnbJENxCWevtiwVpop3_sfJMBWUVGQP2qQ,2614
98
101
  plain/templates/__init__.py,sha256=bX76FakE9T7mfK3N0deN85HlwHNQpeigytSC9Z8LcOs,451
99
102
  plain/templates/core.py,sha256=mbcH0yTeFOI3XOg9dYSroXRIcdv9sETEy4HzY-ugwco,1258
100
103
  plain/templates/jinja/__init__.py,sha256=xvYif0feMYR9pWjN0czthq2dk3qI4D5UQjgj9yp4dNA,2776
@@ -102,12 +105,12 @@ plain/templates/jinja/environments.py,sha256=9plifzvQj--aTN1cCpJ2WdzQxZJpzB8S_4h
102
105
  plain/templates/jinja/extensions.py,sha256=AEmmmHDbdRW8fhjYDzq9eSSNbp9WHsXenD8tPthjc0s,1351
103
106
  plain/templates/jinja/filters.py,sha256=ft5XUr4OLeQayn-MSxrycpFLyyN_yEo7j5WhWMwpTOs,1445
104
107
  plain/templates/jinja/globals.py,sha256=VMpuMZvwWOmb5MbzKK-ox-QEX_WSsXFxq0mm8biJgaU,558
105
- plain/test/README.md,sha256=fv4YzziU2QxgcNHSgv7aDUO45sDOofVuCNrV1NPbWzo,1106
108
+ plain/test/README.md,sha256=wem0myAd-ij74nNV1MB9g4iH6FZUgii7-_euRq45oHs,1142
106
109
  plain/test/__init__.py,sha256=MhNHtp7MYBl9kq-pMRGY11kJ6kU1I6vOkjNkit1TYRg,94
107
110
  plain/test/client.py,sha256=XjLjkeDl1rQRaFoeiCvvD5GXfxIxpuic2OnxjoX05tA,25573
108
111
  plain/test/encoding.py,sha256=YJBOIE-BQRA5yl4zHnQy-9l67mJDTFmfy1DQXK0Wk-Q,3199
109
112
  plain/test/exceptions.py,sha256=b-GHicg87Gh73W3g8QGWuSHi9PrQFVsxgWvEXDLt8gQ,290
110
- plain/urls/README.md,sha256=ijFGmrkUY9buBqO_i1GZaN3V55vl9xwEADtHOx_ZHPY,3724
113
+ plain/urls/README.md,sha256=026RkCK6I0GdqK3RE2QBLcCLIsiwtyKxgI2F0KBX95E,3882
111
114
  plain/urls/__init__.py,sha256=DFO2OL1IllHW5USPIb5uYvvzf_G-Bl0Qu1zrRLHmWyM,542
112
115
  plain/urls/converters.py,sha256=s2JZVOdzZC16lgobsI93hygcdH5L0Kj4742WEkXsVcs,1193
113
116
  plain/urls/exceptions.py,sha256=q4iPh3Aa-zHbA-tw8v6WyX1J1n5WdAady2xvxFuyXB0,114
@@ -115,7 +118,7 @@ plain/urls/patterns.py,sha256=FPWzh2vStzrCqQDkXxjbA58_OMbomOIuYgEOKaEW924,8259
115
118
  plain/urls/resolvers.py,sha256=sZsFQRPlPkogXIVSctZBXJaG0spJzuoJBmtOEZwIXXY,12630
116
119
  plain/urls/routers.py,sha256=B1fX-FQTxmr-b_YeHQUMPuilLVqOi6-RqgPgu6MtFDY,2831
117
120
  plain/urls/utils.py,sha256=lKxTX_A3XJpIH7FjlNYju108stY6-8Sw2uVdiSsxOKQ,1249
118
- plain/utils/README.md,sha256=hRRkcg4CxMX-zz8d4Bn6V2uJr_VKgTLurc1jY7QlEx8,198
121
+ plain/utils/README.md,sha256=3RTH9t4SBLkYLMlnhpWwp72IjgQhOjYYxpT1gHwRUdE,232
119
122
  plain/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
120
123
  plain/utils/cache.py,sha256=iuvOTIfI1s857iVOAPNLK5lkzlrl0fIiBYaiUXWQu40,5303
121
124
  plain/utils/crypto.py,sha256=zFDydnaqNMGYFHUc-CAn8f93685a17BhGusAcITH1lI,2662
@@ -139,7 +142,7 @@ plain/utils/text.py,sha256=42hJv06sadbWfsaAHNhqCQaP1W9qZ69trWDTS-Xva7k,9496
139
142
  plain/utils/timesince.py,sha256=a_-ZoPK_s3Pt998CW4rWp0clZ1XyK2x04hCqak2giII,5928
140
143
  plain/utils/timezone.py,sha256=6u0sE-9RVp0_OCe0Y1KiYYQoq5THWLokZFQYY8jf78g,6221
141
144
  plain/utils/tree.py,sha256=wdWzmfsgc26YDF2wxhAY3yVxXTixQYqYDKE9mL3L3ZY,4383
142
- plain/views/README.md,sha256=iMr_rvag63L0M6rDDHzXEF1dGl5eUQj_0vHwrsgKwgU,6762
145
+ plain/views/README.md,sha256=wKwC6pgxUyIZdCZq5roPpzbGa0Y-tR7mPifr5z659Uk,7245
143
146
  plain/views/__init__.py,sha256=a-N1nkklVohJTtz0yD1MMaS0g66HviEjsKydNVVjvVc,392
144
147
  plain/views/base.py,sha256=CC9UvMZeAjVvi90vGjoZzsQ0jnhbg3-7qCKQ8-Pb6cg,4184
145
148
  plain/views/csrf.py,sha256=7q6l5xzLWhRnMY64aNj0hR6G-3pxI2yhRwG6k_5j00E,144
@@ -149,8 +152,8 @@ plain/views/forms.py,sha256=ESZOXuo6IeYixp1RZvPb94KplkowRiwO2eGJCM6zJI0,2400
149
152
  plain/views/objects.py,sha256=GGbcfg_9fPZ-PiaBwIHG2e__8GfWDR7JQtQ15wTyiHg,5970
150
153
  plain/views/redirect.py,sha256=daq2cQIkdDF78bt43sjuZxRAyJm_t_SKw6tyPmiXPIc,1985
151
154
  plain/views/templates.py,sha256=ivkI7LU7BXDQ0d4Geab96Is4-Cp03KbIntXRT1J8e6I,2139
152
- plain-0.55.0.dist-info/METADATA,sha256=oJV0didL8vjsiZzSYn0FYfA6XNxvyOSaUaL6JXCFujI,4488
153
- plain-0.55.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
154
- plain-0.55.0.dist-info/entry_points.txt,sha256=nn4uKTRRZuEKOJv3810s3jtSMW0Gew7XDYiKIvBRR6M,93
155
- plain-0.55.0.dist-info/licenses/LICENSE,sha256=m0D5O7QoH9l5Vz_rrX_9r-C8d9UNr_ciK6Qwac7o6yo,3175
156
- plain-0.55.0.dist-info/RECORD,,
155
+ plain-0.56.1.dist-info/METADATA,sha256=TY8h0a3RgKZAXhZng4sMKuleTRc57MZopCufA_3wJOY,4488
156
+ plain-0.56.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
157
+ plain-0.56.1.dist-info/entry_points.txt,sha256=nn4uKTRRZuEKOJv3810s3jtSMW0Gew7XDYiKIvBRR6M,93
158
+ plain-0.56.1.dist-info/licenses/LICENSE,sha256=m0D5O7QoH9l5Vz_rrX_9r-C8d9UNr_ciK6Qwac7o6yo,3175
159
+ plain-0.56.1.dist-info/RECORD,,
File without changes