Django Pell
Custom django widget built on pell.
Usage
class EditorForm(forms.Form):
"""Simple form which exposes the Django Pell Widget."""
editor = forms.CharField(
widget=PellWidget(),
help_text='Pell is "the simplest and smallest WYSIWYG text editor for web, with no dependencies"',
label=False,
)
def editor_view(request):
"""Simple view which renders the EditorForm."""
return render(
request,
"editor.html",
context={"form": EditorForm()},
)
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
{{ form.media }}
<body>
{{ form.as_p }}
</body>
</html>
For a complete example check out the example included in this repo.
Release files for django-pell 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_pell-0.0.10.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_pell-0.0.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.8 kB
Release files / django_pell-0.0.10.tar.gz
| Download URL | django_pell-0.0.10.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
104c3dd8ed42e9f4fa79732c89d903aa8ae3e06a78be8b2d02d89f5a972e22bd
|
|
BLAKE2b-256 checksum How to use checksums |
93d3a7b74621aaaed74cb6aba5205d71239c75b300066224c645fef98ba08c7d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
|
Release files / django_pell-0.0.10-py3-none-any.whl
| Download URL | django_pell-0.0.10-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19a1d5e7d519fe96047371ade60d59ab8ec9b607453b7ed4c3903fb0a440ff24
|
|
BLAKE2b-256 checksum How to use checksums |
c008883c9f9318575bfda428af2d680543a0b8d55551b2535f410bcc314f9997
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.2
|