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 hashes)
Built Distribution
Close
Hashes for django_trix_widget-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15ea56d68f1a2111495cac11304606b2591fd335e77ff632f67a6c378452f914 |
|
MD5 | 6a739c858e584707256f8708deb85734 |
|
BLAKE2b-256 | 57a57bd600e36733009a95cc04344a0d119c5588e0145f26fa31448ed82bb33e |