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

Commit

Permalink
Add info about upgrading to Django 3 in the README
Browse files Browse the repository at this point in the history
  • Loading branch information
slavov-v committed Feb 9, 2021
1 parent 707fea9 commit 1832529
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ A custom Django choice field to use with [Python enums.](https://docs.python.org

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


**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`.**


## Table of Contents

- [django-enum-choices](#django-enum-choices)
Expand Down

0 comments on commit 1832529

Please sign in to comment.