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 that provides 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.1.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.1-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_choices_2-3.0.1.tar.gz
  • Upload date:
  • Size: 39.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","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.1.tar.gz
Algorithm Hash digest
SHA256 d21bef9169f8d29bd617c875275a03b27be7be65294da52b7fcb9e4f1442a503
MD5 1c7fe688f19f4dfb1ad4a85642eb51de
BLAKE2b-256 7d6394dc4fabb026f2b7a32bbc32440239fe5f1f41da0f0382b058f4c9dc8625

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_choices_2-3.0.1-py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.13 {"installer":{"name":"uv","version":"0.11.13","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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 99edf7e187712823422473ad2124222865d97a7b280f17b7e1c471d6be889c10
MD5 10251ce3e1164684ea2f20bdb4192841
BLAKE2b-256 3cc4738433409d9abba1e150734b75560b469f684232cc80e1377f62e4d68818

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