Metadata-Version: 2.4
Name: wagtail-sb-codefield
Version: 0.5.0
Summary: Use CodeField from `django-sb-codefield` in Wagtail Admin
Keywords: cms,django,dynova,softbutterfly,codefield,wagtail
Author: Dynova Development Team, zodiacfireworks
Author-email: Dynova Development Team <dev@dynova.io>, zodiacfireworks <martin.vuelta@gmail.com>
License-Expression: Apache-2.0
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Framework :: Django :: 4
Classifier: Framework :: Django :: 5
Classifier: Framework :: Django :: 6
Classifier: Framework :: Wagtail :: 5
Classifier: Framework :: Wagtail :: 6
Classifier: Framework :: Wagtail :: 7
Classifier: Framework :: Wagtail :: 8
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: django>=4.2,<7.0
Requires-Dist: django-sb-codefield>=0.6.0
Requires-Dist: wagtail>=5.2,<9.0
Maintainer: zodiacfireworks
Maintainer-email: zodiacfireworks <martin.vuelta@gmail.com>
Requires-Python: >=3.11.0, <4.0.0
Project-URL: Bug Tracker, https://gitlab.com/softbutterfly/open-source/wagtail-sb-codefield/-/issues
Project-URL: Changelog, https://gitlab.com/softbutterfly/open-source/wagtail-sb-codefield/-/blob/v0.5.0/CHANGELOG.md
Project-URL: Documentation, https://softbutterfly.gitlab.io/open-source/wagtail-sb-codefield
Project-URL: Download, https://gitlab.com/softbutterfly/open-source/wagtail-sb-codefield/-/archive/v0.5.0/wagtail-sb-codefield-v0.5.0.tar.gz
Project-URL: Homepage, https://gitlab.com/softbutterfly/open-source/wagtail-sb-codefield
Project-URL: Issues, https://gitlab.com/softbutterfly/open-source/wagtail-sb-codefield/-/issues
Project-URL: Repository, https://gitlab.com/softbutterfly/open-source/wagtail-sb-codefield
Description-Content-Type: text/markdown

# Wagtail CodeField

**Use CodeField from `django-sb-codefield` in Wagtail Admin.**

![Community-Project][repository:banner]

![PyPI - Supported versions][pypi:badge:python]
![PyPI - Package version][pypi:badge:version]
![PyPI - Downloads][pypi:badge:downloads]
![PyPI - License][pypi:badge:license]
[![Codacy Grade Badge][codacy:grade]][codacy:dashboard]
[![Codacy Coverage Badge][codacy:coverage]][codacy:dashboard]
[![Gitlab Pipeline Status][repository:pipeline]][repository:commits]

This library bridges `django-sb-codefield` and Wagtail, allowing you to seamlessly integrate robust code editor fields into your Wagtail administration interface.

## ✨ Features

- **Wagtail Integration**: Use `CodeField` directly in Wagtail admin panels.
- **Easy Configuration**: Simple setup via `INSTALLED_APPS`.
- **Modern Stack**: Built for Python 3.11+, Django 4.2+, and Wagtail 5.2+.

## 📋 Requirements

- Python 3.11.0 or higher
- Django 4.2.0 or higher
- Wagtail 5.2.0 or higher
- django-sb-codefield

## 📦 Installation

### Using pip

```bash
pip install wagtail-sb-codefield
```

### Using uv

```bash
uv add wagtail-sb-codefield
```

## 🚀 Usage

Add `wagtail_sb_codefield`, `django_sb_codefield`, and `codemirror2` to your `INSTALLED_APPS` settings:

```python
INSTALLED_APPS = [
    # ...
    "codemirror2",
    "django_sb_codefield",
    "wagtail_sb_codefield",
]
```

For more advanced usage and examples, check out our [Wiki][repository:wiki].

## 🛠️ Development

We welcome contributions! Please see our [Contribution Guide](./CONTRIBUTING.md) for details on setting up your development environment, running tests, and submitting pull requests.

The project uses `uv` for dependency management, `ruff` for linting, and `tox` for multi-environment testing.

## 📜 Changelog

See the [CHANGELOG.md](./CHANGELOG.md) for a history of changes.

## 👥 Contributors

See our [list of contributors][repository:contributors].

## 📄 License

This project is licensed under the Apache License 2.0. See the [LICENSE](./LICENSE) file for details.

[repository:banner]: https://gitlab.com/softbutterfly/open-source/open-source-office/-/raw/master/assets/dynova/dynova-open-source--banner--community-project.png
[repository:pipeline]: https://gitlab.com/softbutterfly/open-source/wagtail-sb-codefield/badges/master/pipeline.svg
[repository:commits]: https://gitlab.com/softbutterfly/open-source/wagtail-sb-codefield/-/commits/master
[repository:contributors]: https://gitlab.com/softbutterfly/open-source/wagtail-sb-codefield/-/graphs/develop
[repository:wiki]: https://gitlab.com/softbutterfly/open-source/wagtail-sb-codefield/-/wikis

[pypi:badge:python]: https://img.shields.io/pypi/pyversions/wagtail-sb-codefield
[pypi:badge:version]: https://img.shields.io/pypi/v/wagtail-sb-codefield
[pypi:badge:downloads]: https://img.shields.io/pypi/dm/wagtail-sb-codefield
[pypi:badge:license]: https://img.shields.io/pypi/l/wagtail-sb-codefield

[codacy:grade]: https://app.codacy.com/project/badge/Grade/2f6661a360234960b1800c0bdac37d3c
[codacy:coverage]: https://app.codacy.com/project/badge/Coverage/2f6661a360234960b1800c0bdac37d3c
[codacy:dashboard]: https://app.codacy.com/gl/softbutterfly/wagtail-sb-codefield/dashboard
