Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Django CodeField

Django model field for Code using CodeMirror2.

Community-Project

django-sb-codefield provide a django model field for Code using CodeMirror2.

✨ Features¢

πŸ“‹ RequirementsΒΆ

πŸ“¦ InstallationΒΆ

Using pipΒΆ

pip install django-sb-codefield

Using 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.