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 details)
Built Distribution
File details
Details for the file django-trix-widget-1.0.1.tar.gz
.
File metadata
- Download URL: django-trix-widget-1.0.1.tar.gz
- Upload date:
- Size: 47.8 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dcadc6c26dd835f1f08cf93eeee6c68bb743647e38fe5370fe3727e05ad53d6 |
|
MD5 | c93deb99c82b6f4d877cd53ec2af54ac |
|
BLAKE2b-256 | 08d8a8c81efa7c09b8f88c831bb9718aab188363bebed6903ba46b715e377b0b |
File details
Details for the file django_trix_widget-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: django_trix_widget-1.0.1-py3-none-any.whl
- Upload date:
- Size: 48.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85e9535f242b47a5f1cb181e6a4a70f2ecaa5f47e8adc4c899d27c44107d2c50 |
|
MD5 | 4ccd2ce2527739744cd3d4fd5e79fa9b |
|
BLAKE2b-256 | 514865a613b66a32630bed1fefc70656304e7efdcd90a1f7f186c250608ff1b3 |