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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file django_sb_codefield-0.3.0.tar.gz.

File metadata

  • Download URL: django_sb_codefield-0.3.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.7.3 Linux/5.15.77-amd64-desktop

File hashes

Hashes for django_sb_codefield-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7f49f8cd0427bb19e1328825a125233ffa97397b133d643ded4767f9cac4fe35
MD5 256e2a1b78c37a65c70173b9b779bd73
BLAKE2b-256 207334bd6b627db5a8899a92e9bdf64b9959e832f55c798eaf040897fb265baf

See more details on using hashes here.

File details

Details for the file django_sb_codefield-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_sb_codefield-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8feae25f64e579c64fa1e31c4a88455da00089fa98b7c73463998bda80060815
MD5 4e924db38b64f11a51d124106aca7b21
BLAKE2b-256 3c58f2cd780578b7aa14571cc1162bc101a9b7ad24534399a718ecf62550eb67

See more details on using hashes here.

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