Skip to main content

Countable Field

Countable Field is a simple Django custom for widget for displaying a text area with the current word count displayed underneath. It can be set up to display the count in red when the current word count is out of required minimum or maximum word count for the form field.

Quick start

  1. Add “countable_field” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'countable_field',
    ]

2. In the form, set the field’s widget to be “CountableWidget”, passing the minimum and maximum word count as additional parameters, such as:

self.fields['essay_response'].widget = \
            CountableWidget(attrs={'data-min-count': this.essay_min_length,
                                   'data-max-count': this.essay_max_length})

Metadata

Release files for django-countable-field 1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-countable-field 1.3
File Size Uploaded Provenance Actions
django-countable-field-1.3.tar.gz 9.5 kB Without provenance Details for django-countable-field-1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-countable-field 1.3
File Interpreter ABI Platform Actions
django_countable_field-1.3-py3-none-any.whl Python 3 none any Details for django_countable_field-1.3-py3-none-any.whl

Total release size: 21.2 kB

Release files / django-countable-field-1.3.tar.gz

Download URL django-countable-field-1.3.tar.gz
Size 9.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c1bc09e7f898589940a64a6c6d183e8a18b795c85f7555effd0149ad24393f8f
BLAKE2b-256 checksum
How to use checksums
ab53565ccb9da6c8e8e28f1a715b753e68c33735c3fc03fb84c6df0c89cfc7b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_countable_field-1.3-py3-none-any.whl

Download URL django_countable_field-1.3-py3-none-any.whl
Size 11.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46ed06572ed3b0927d2172217a4287ad61e1c7a2c5fe13d9b937c2eeb351509c
BLAKE2b-256 checksum
How to use checksums
d86348d613d5db62f89a1c2dae96a643e4696e38f6eb27c2d8ac421ad367ba7b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-countable-field 1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page