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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: django-trix-widget-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 44d1aa0bc3bf4774b2f48cd14405666691cf9299048b6ac2d746b27e3470ea1e
MD5 ba92558497e27c53c39efb7965bf5019
BLAKE2b-256 033c6a960e2a3d622c1a5914e067acc651adb68ccb1acd55d95e28d93ba16e85

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_trix_widget-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c71b436e40cb261e52ca478922ba80821ee41ec1eac841b579f1d2ebdb07ca18
MD5 5d62fb65a1ad03108d9dc5c19e15672e
BLAKE2b-256 209eab45fb37c75547f6ec3a03ecbe8a9e9224723d5d865228f0f40437aa9421

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