django-tesseractfield
This module fills the need of having a tesseractfield that's usable in both django models and forms.
Makes use of tesseract.
Installation
- Run
pip install django-tesseractfield - Add
tesseractfieldto yourINSTALLED_APPS - Collect static files with
./manage.py collectstatic
Usage
To activate tesseract transcription on your Django site, add this line to your URLconf:
path('', include('tesseractfield.urls')),
In your models, you can use it like this:
from django.db import models
from tesseractfield.fields import TesseractField
class MyModel(model.Model):
content = TesseractField()
In your foms, you can use it like this:
from django import forms
from tesseractfield.fields import TesseractWidget
class MyForm(forms.Form):
content = forms.Textarea()
class Meta:
widgets = {
'content': TesseractWidget(),
}
Maintainers
Articles
Metadata
Release files for django-tesseractfield 0.0.2
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-tesseractfield-0.0.2.tar.gz | 5.0 kB | Details |
Release files / django-tesseractfield-0.0.2.tar.gz
| Download URL | django-tesseractfield-0.0.2.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1caf9ad04df806952586874a5e80e40535e52565a9b1aa9f4e089bea209a0f68
|
|
BLAKE2b-256 checksum How to use checksums |
10dda3d6776a4c5dc1b716d0e1863dade1895ffa10f6f68ed6ed67188b7bb581
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/36.5.0.post20170921 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3
|