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.3.tar.gz
(48.7 kB
view hashes)
Built Distribution
Close
Hashes for django_trix_widget-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57d4c3d4d388e8b3bdc1056ec889c728b1637f7fd8b430e295f2ad2c19a05efc |
|
MD5 | 433b9b0e3803dbda6187dcfaa8a01b61 |
|
BLAKE2b-256 | f5e388d01f41e8fb34e0961e02f717ce33fb22ec45df4b13e8fe2c2c75d696a5 |