Skip to main content

Django CodeField

Django model field for Code using CodeMirror2.

Community-Project

PyPI - Supported versions PyPI - Package version PyPI - Downloads PyPI - License Codacy Grade Badge Codacy Coverage Badge Gitlab Pipeline Status

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 0.2 or higher

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

Metadata

Release files for django-sb-codefield 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-sb-codefield 0.6.0
File Size Uploaded Provenance
django_sb_codefield-0.6.0.tar.gz 11.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for django-sb-codefield 0.6.0
File Interpreter ABI Platform
django_sb_codefield-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.0 kB

Release files / django_sb_codefield-0.6.0.tar.gz

Download URL django_sb_codefield-0.6.0.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
08ad71ab1ccc9a697f7d2e8c621f78a7944923dc9ebd386312a57b3362e98e33
BLAKE2b-256 checksum
How to use checksums
a05a265f7351f2ed18bd6a29490742026b74e3c0b4f2aa899b47d6fa0d4b20d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / django_sb_codefield-0.6.0-py3-none-any.whl

Download URL django_sb_codefield-0.6.0-py3-none-any.whl
Size 10.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ddbd41f925ab9badf552dd40f79efc40d8c2637fb05b78aa41df0198f03a2d8d
BLAKE2b-256 checksum
How to use checksums
f782f66b962f7dccc29b0b209b7dce126a83df3a16ebc80576e300f1128cda9f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for django-sb-codefield 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page