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.1.tar.gz
(47.8 kB
view hashes)
Built Distribution
Close
Hashes for django_trix_widget-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85e9535f242b47a5f1cb181e6a4a70f2ecaa5f47e8adc4c899d27c44107d2c50 |
|
MD5 | 4ccd2ce2527739744cd3d4fd5e79fa9b |
|
BLAKE2b-256 | 514865a613b66a32630bed1fefc70656304e7efdcd90a1f7f186c250608ff1b3 |