Skip to main content

django_splitted_input

About

This is a django widget for multiple fixed size inputs for one form field. These could be used for those super fancy verification code forms. The cursor is moved to the next input field using JS/jQuery.

django_splitted_input Showcase

Usage

  1. Install django_splitted_input and add it to your INSTALLED_APPS.

    pip install django-splitted-input
    

    In your settings.py:

    "django_splitted_input",
    
  2. Install jQuery using your preferred method (e.g. django-yarnpkg)

  3. Create a form with a CharField.

  4. Use SplittedInput as a widget and supply the sizes of all input fields.

from django import forms
from django_splitted_input import SplittedInput


class VerificationForm(forms.Form):
    auth_code = forms.CharField(label='Code', widget=SplittedInput(sizes=(3, 3, 3)))

Metadata

Release files for django-splitted-input 0.1.1

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-splitted-input 0.1.1
File Size Uploaded Provenance Actions
django-splitted-input-0.1.1.tar.gz 3.6 kB Without provenance Details for django-splitted-input-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-splitted-input 0.1.1
File Interpreter ABI Platform Actions
django_splitted_input-0.1.1-py3-none-any.whl Python 3 none any Details for django_splitted_input-0.1.1-py3-none-any.whl

Total release size: 8.8 kB

Release files / django-splitted-input-0.1.1.tar.gz

Download URL django-splitted-input-0.1.1.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7f728d6aae4b4fcac17cb23e2bf3e9ffa5f4b4c913996f3b74fcdb1ddcc75a1f
BLAKE2b-256 checksum
How to use checksums
7d310da7222cbaed2d785d9c1d80f212e69e80186ac60642a8fe3fc53b925db2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.6 Linux/5.8.0-40-generic

Release files / django_splitted_input-0.1.1-py3-none-any.whl

Download URL django_splitted_input-0.1.1-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e103b5c73c2783a9e820a406c2691eec0b4d0161dc488a1c66ddfa0fb8ad30a
BLAKE2b-256 checksum
How to use checksums
a5e45d5b5028f86d6ac1d5d886b18a0a5ae260bb8a5548f9842554fba9e7155b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.6 Linux/5.8.0-40-generic

Security for django-splitted-input 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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