Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into django-upgrade-notice
Browse files Browse the repository at this point in the history
  • Loading branch information
RadoRado authored Nov 25, 2021
2 parents 1832529 + 0d007ee commit 70f6472
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
# django-enum-choices
# django-enum-choices (DEPRECATED)

A custom Django choice field to use with [Python enums.](https://docs.python.org/3/library/enum.html)

[![PyPI version](https://badge.fury.io/py/django-enum-choices.svg)](https://badge.fury.io/py/django-enum-choices)

## ⚠️ Disclaimer ⚠️

**Important Note: Django 3 has introduced it's own enumeration types: https://docs.djangoproject.com/en/3.1/ref/models/fields/#enumeration-types**

**This makes `django-enum-choices` redundant when used with Django >= `3.0`.**

**If you are using `django-enum-choices` and you want to upgrade your project to Django >= `3.0` you can refer to the guide in the wiki: [Migrating to Django 3](https://github.com/HackSoftware/django-enum-choices/wiki/Migrating-to-Django-3)**

**We will continue to support the compatibility with Django's versions prior to `3.0`.**
Starting with version 3.0, Django started supporting [Enumerations for model field choices](https://docs.djangoproject.com/en/dev/releases/3.0/#enumerations-for-model-field-choices) and we recommend using this as a native Django feature, instead of `django-enum-choices`

**If you are using `django-enum-choices` and you want to upgrade your project to Django >= `3.0` you can refer to the guide in the wiki: [Migrating to Django 3](https://github.com/HackSoftware/django-enum-choices/wiki/Migrating-to-Django-3)**

## Table of Contents

Expand Down

0 comments on commit 70f6472

Please sign in to comment.