Skip to main content

Trix widget for Django

Project description

django-trix-widget

Django form widget for Trix.

Rationale

Integrate Trix editor with Django forms framework.

Support

Supports: Python 3.10.

Supports Django Versions: 4.2.7

Installation

$ pip install django-trix-widget

Usage

Add trix_widget to INSTALLED_APPS.

Run migrations:

Import the widget from the package:

from django import forms
from trix_widget.widgets import TrixWidget


class MyForm(forms.Form):
    
    text = forms.CharField(widget=TrixWidget())

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-trix-widget-1.0.2.tar.gz (48.0 kB view details)

Uploaded Source

Built Distribution

django_trix_widget-1.0.2-py3-none-any.whl (48.4 kB view details)

Uploaded Python 3

File details

Details for the file django-trix-widget-1.0.2.tar.gz.

File metadata

  • Download URL: django-trix-widget-1.0.2.tar.gz
  • Upload date:
  • Size: 48.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for django-trix-widget-1.0.2.tar.gz
Algorithm Hash digest
SHA256 3e289f4b2b6dcaf607e6db0c568443de7c1a0c7f0b93686afc43ee9cffb0671a
MD5 7cbc226a7bbf271d53b8f848f974dd46
BLAKE2b-256 60a087493068a9db2052ceb5358d8a6896d2875197edeceae8720bbc02d330a7

See more details on using hashes here.

File details

Details for the file django_trix_widget-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: django_trix_widget-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 48.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for django_trix_widget-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 15ea56d68f1a2111495cac11304606b2591fd335e77ff632f67a6c378452f914
MD5 6a739c858e584707256f8708deb85734
BLAKE2b-256 57a57bd600e36733009a95cc04344a0d119c5588e0145f26fa31448ed82bb33e

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