django-trix-widget


Namedjango-trix-widget JSON
Version 1.0.4 PyPI version JSON
download
home_pagehttps://github.com/bboogaard/django-trix-widget
SummaryTrix widget for Django
upload_time2023-11-27 09:37:24
maintainer
docs_urlNone
authorBram Boogaard
requires_python
licenseMIT License
keywords django trix widget
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # django-trix-widget

Django form widget for [Trix](https://trix-editor.org/).

## Rationale

Integrate Trix editor with Django forms framework.

## Support

Supports: Python 3.10.

Supports Django Versions: 3.2

## Installation

```shell
$ pip install django-trix-widget
```

## Usage

Add `trix_widget` to `INSTALLED_APPS`.

Run migrations:

Import the widget from the package:

```python
from django import forms
from trix_widget.widgets import TrixWidget


class MyForm(forms.Form):
    
    text = forms.CharField(widget=TrixWidget())


```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/bboogaard/django-trix-widget",
    "name": "django-trix-widget",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "Django Trix widget",
    "author": "Bram Boogaard",
    "author_email": "padawan@hetnet.nl",
    "download_url": "https://files.pythonhosted.org/packages/03/3c/6a960e2a3d622c1a5914e067acc651adb68ccb1acd55d95e28d93ba16e85/django-trix-widget-1.0.4.tar.gz",
    "platform": null,
    "description": "# django-trix-widget\n\nDjango form widget for [Trix](https://trix-editor.org/).\n\n## Rationale\n\nIntegrate Trix editor with Django forms framework.\n\n## Support\n\nSupports: Python 3.10.\n\nSupports Django Versions: 3.2\n\n## Installation\n\n```shell\n$ pip install django-trix-widget\n```\n\n## Usage\n\nAdd `trix_widget` to `INSTALLED_APPS`.\n\nRun migrations:\n\nImport the widget from the package:\n\n```python\nfrom django import forms\nfrom trix_widget.widgets import TrixWidget\n\n\nclass MyForm(forms.Form):\n    \n    text = forms.CharField(widget=TrixWidget())\n\n\n```\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Trix widget for Django",
    "version": "1.0.4",
    "project_urls": {
        "Homepage": "https://github.com/bboogaard/django-trix-widget"
    },
    "split_keywords": [
        "django",
        "trix",
        "widget"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "209eab45fb37c75547f6ec3a03ecbe8a9e9224723d5d865228f0f40437aa9421",
                "md5": "5d62fb65a1ad03108d9dc5c19e15672e",
                "sha256": "c71b436e40cb261e52ca478922ba80821ee41ec1eac841b579f1d2ebdb07ca18"
            },
            "downloads": -1,
            "filename": "django_trix_widget-1.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5d62fb65a1ad03108d9dc5c19e15672e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 49285,
            "upload_time": "2023-11-27T09:37:22",
            "upload_time_iso_8601": "2023-11-27T09:37:22.233373Z",
            "url": "https://files.pythonhosted.org/packages/20/9e/ab45fb37c75547f6ec3a03ecbe8a9e9224723d5d865228f0f40437aa9421/django_trix_widget-1.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "033c6a960e2a3d622c1a5914e067acc651adb68ccb1acd55d95e28d93ba16e85",
                "md5": "ba92558497e27c53c39efb7965bf5019",
                "sha256": "44d1aa0bc3bf4774b2f48cd14405666691cf9299048b6ac2d746b27e3470ea1e"
            },
            "downloads": -1,
            "filename": "django-trix-widget-1.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "ba92558497e27c53c39efb7965bf5019",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 48686,
            "upload_time": "2023-11-27T09:37:24",
            "upload_time_iso_8601": "2023-11-27T09:37:24.503540Z",
            "url": "https://files.pythonhosted.org/packages/03/3c/6a960e2a3d622c1a5914e067acc651adb68ccb1acd55d95e28d93ba16e85/django-trix-widget-1.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-27 09:37:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "bboogaard",
    "github_project": "django-trix-widget",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "django-trix-widget"
}
        
Elapsed time: 2.68879s