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
Built Distribution
File details
Details for the file django-trix-widget-1.0.0.tar.gz
.
File metadata
- Download URL: django-trix-widget-1.0.0.tar.gz
- Upload date:
- Size: 2.1 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 | fd45d6dcfdd520a1c986f5f849836185241f76835d8d68bbb3333cdc90a84df5 |
|
MD5 | 9a18b414e05ab18e4d9e947aa7a9d9dc |
|
BLAKE2b-256 | 3ffa84904c347df0be96d1a0726591ac22ae0b47287592210e7c9aa3dd5c747e |
File details
Details for the file django_trix_widget-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: django_trix_widget-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.5 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 | e982620c0e8715e4583c5c6acb3246db35f91b53958ac549106a6ad3cb051aab |
|
MD5 | 8efbe6ad983bb401a0347773fda6f3a7 |
|
BLAKE2b-256 | 22f26493b34e245aae5daf46eb1af5a1ad988c0a53a2e0510c92f063b0de32eb |