Skip to main content

Use codemirror2 widget directly in Django models, forms and admin.

Project description

Community-Project

PyPI - Supported versions PyPI - Package version PyPI - Downloads PyPI - MIT License

Codacy Badge

Django CodeField

Use codemirror2 widget directly in Django models, forms and admin.

Requirements

  • Python 3.8.1 or higher but lower than 4.0.0
  • Django lower than 5.0.0
  • django-codemirror2 lower than 1.0.0

Install

pip install django-sb-codefield

Usage

Add codemirror2 and django_sb_codefield to your INSTALLED_APPS settings

INSTALLED_APPS = [
  # ...
  "codemirror2",
  "django_sb_codefield",
]

Docs

Changelog

All changes to versions of this library are listed in the change history.

Development

Check out our contribution guide.

Contributors

See the list of contributors here.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_sb_codefield-0.3.0.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

django_sb_codefield-0.3.0-py3-none-any.whl (6.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page