Skip to main content

Sanity for the django choices functionality.

Project description

Django-Choices-2

build-status code-quality coverage docs pypi python-versions django-versions

django-choices-2 is a maintained fork of the django-choices library thatprovides a declarative way of using the choices option on django fields.

The library emerged as a successor to the original django-choices project after it was archived in 2023. django-choices-2 maintains full backward compatibility with initial release making it a drop-in replacement for existing django-choices installations. Future releases will start to diverge.

This project adheres to Semantic Versioning. The last release of the original django-choices was 2.0.0. Since we have dropped support for Django 3.2 and EOL versions of Python, our first release will be 3.0.0.

Introduction

Django choices provides a declarative way of using the choices option on Django fields.

See the documentation on ReadTheDocs on how to use this library.

Acknowledgements

A big thank you to the original authors of django-choices for their work on the original package:

License

Licensed under the MIT License.

Source Code

The source code can be found on Github.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_choices_2-3.0.0.tar.gz (39.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_choices_2-3.0.0-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file django_choices_2-3.0.0.tar.gz.

File metadata

  • Download URL: django_choices_2-3.0.0.tar.gz
  • Upload date:
  • Size: 39.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for django_choices_2-3.0.0.tar.gz
Algorithm Hash digest
SHA256 0d6f8311e816a1219ead90f378e1cd1e68075b69f017a6ac6237bda4e3e9ff2a
MD5 cf92374a1ff2b2e0ec0bcb5d72667a10
BLAKE2b-256 6938be8911a873b89efe5843d7fc2bb6790ff090df33deab3e23bbd7f6240864

See more details on using hashes here.

File details

Details for the file django_choices_2-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: django_choices_2-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.12 {"installer":{"name":"uv","version":"0.11.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for django_choices_2-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8529eb49889acab7f046c4291d9ba08d00957df1933080f359a280ab1b16981a
MD5 51f9fe9cf9c66545f17b6a84b7ed1f60
BLAKE2b-256 3e03d262e038858e6c8e355d6499b29d6313df7644d5452073e63f1667161f02

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page