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: 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.3.tar.gz (48.7 kB view details)

Uploaded Source

Built Distribution

django_trix_widget-1.0.3-py3-none-any.whl (49.3 kB view details)

Uploaded Python 3

File details

Details for the file django-trix-widget-1.0.3.tar.gz.

File metadata

  • Download URL: django-trix-widget-1.0.3.tar.gz
  • Upload date:
  • Size: 48.7 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

Hashes for django-trix-widget-1.0.3.tar.gz
Algorithm Hash digest
SHA256 6cad9492e52c12e5685396f544ba6944cc56b925ef4aef4f21ae0e2c26528728
MD5 5214921cb897a3d9f36b313e0e951b62
BLAKE2b-256 e07989fb09d71f8fc19d66147abb34d8ea2d534ee9e49e609ff154d9f6ccd921

See more details on using hashes here.

File details

Details for the file django_trix_widget-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: django_trix_widget-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 49.3 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

Hashes for django_trix_widget-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 57d4c3d4d388e8b3bdc1056ec889c728b1637f7fd8b430e295f2ad2c19a05efc
MD5 433b9b0e3803dbda6187dcfaa8a01b61
BLAKE2b-256 f5e388d01f41e8fb34e0961e02f717ce33fb22ec45df4b13e8fe2c2c75d696a5

See more details on using hashes here.

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