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: 3.2
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.4.tar.gz
(48.7 kB
view hashes)
Built Distribution
Close
Hashes for django_trix_widget-1.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c71b436e40cb261e52ca478922ba80821ee41ec1eac841b579f1d2ebdb07ca18 |
|
MD5 | 5d62fb65a1ad03108d9dc5c19e15672e |
|
BLAKE2b-256 | 209eab45fb37c75547f6ec3a03ecbe8a9e9224723d5d865228f0f40437aa9421 |