Django CodeField
Django model field for Code using CodeMirror2.

django-sb-codefield provide a django model field for Code using CodeMirror2.
β¨ FeaturesΒΆ
django model field for Code using CodeMirror2
π RequirementsΒΆ
Python 3.11 or higher
Django 4.2 or higher
django-codemirror2 lower than 1.0.0
π¦ InstallationΒΆ
Using pipΒΆ
pip install django-sb-codefieldUsing uvΒΆ
uv add django-sb-codefieldπ UsageΒΆ
Add codemirror2 and django_sb_codefield to your INSTALLED_APPS settings
INSTALLED_APPS = [
# ...
"codemirror2",
"django_sb_codefield",
]For more detailed instructions, see our Step-by-Step Tutorial.
π οΈ DevelopmentΒΆ
Check out our Contribution Guide 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 for a history of changes.
π₯ ContributorsΒΆ
See our list of contributors.
π LicenseΒΆ
This project is licensed under the Apache License 2.0. See the LICENSE file for details.