Metadata-Version: 2.4
Name: plain.toolbar
Version: 0.6.0
Summary: Debug toolbar for Plain applications
Author-email: Dave Gaeddert <dave.gaeddert@dropseed.dev>
License-Expression: BSD-3-Clause
License-File: LICENSE
Requires-Python: >=3.13
Requires-Dist: plain-tailwind<1.0.0
Requires-Dist: plain<1.0.0
Description-Content-Type: text/markdown

# plain.toolbar

**Debug toolbar for Plain applications.**

## Installation

```bash
uv add plain.toolbar
```

Add it to your `INSTALLED_PACKAGES`:

```python
# app/settings.py
INSTALLED_PACKAGES = [
    "plain.toolbar",
    # other packages...
]
```

Add the toolbar to your base template:

```html
<!-- app/templates/base.html -->
<!DOCTYPE html>
<html>
<body>
    {% block content required %}{% endblock %}
    {% toolbar %}
</body>
</html>
```

The toolbar will appear when `settings.DEBUG` is True or when the authenticated user has `is_admin` set to True.
