Skip to main content

Acknowledgement

This is a fork of the original code written by Silver Logic, available here.

About

A replacement for Django's ArrayField with a multiple select form field.

Please note that this selector makes sense only if the underlying base_field is using choices.

Installation

pip install django-array-field-select-multiple

How To Use

Replace all instances of your Django's ArrayField model field with the new ArrayField. No functionality will be changed, except for the form field.

Example

from django.db import models
from array_field_select.fields import ArrayField


class Student(models.Model):
    YEAR_IN_SCHOOL_CHOICES = (
        ('FR', 'Freshman'),
        ('SO', 'Sophomore'),
        ('JR', 'Junior'),
        ('SR', 'Senior'),
    )
    years_in_school = ArrayField(
        models.CharField(max_length=2, choices=YEAR_IN_SCHOOL_CHOICES)
    )

Metadata

Release files for django-array-field-select-multiple 0.3.2

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-array-field-select-multiple 0.3.2
File Size Uploaded Provenance
django-array-field-select-multiple-0.3.2.tar.gz 3.2 kB Without provenance Details

Release files / django-array-field-select-multiple-0.3.2.tar.gz

Download URL django-array-field-select-multiple-0.3.2.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ae5a4f2110aac266e66a4ac5205fe85e8735fc41a0b4ad9b4184ba05589e9d12
BLAKE2b-256 checksum
How to use checksums
6e4972ac901b7f2b9b61491939e478ceae5c92be21a6c316de71108177f22756
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.13.1

Security for django-array-field-select-multiple 0.3.2

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