Skip to main content

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)

Uploaded Source

Built Distribution

django_trix_widget-1.0.4-py3-none-any.whl (49.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page