Cookiecutter-django: Django 3.1

Created on 5 Sep 2020  ยท  3Comments  ยท  Source: pydanny/cookiecutter-django

I haven't seen anyone asked this question yet. So I'll go first. Is it ok now to upgrade to django 3.1.x?

Another newbie question: beside the tests that I wrote, is there any other test that I could run to make sure the django-cookiecutter on my computer works with django 3.1.1?

Thank you.

enhancement

Most helpful comment

It's not only about DRF, but all our django libraries. I'm going to start a table that I'll keep up to date to gather where are our dependencies, taken from @emilepetrone idea in #2352:

Base.txt

| Name | Version in Master | 3.1 Compatible Version | OK |
| ------------- |:-------------:| :-----:|:--:|
| pytz | 2020.4 | n/a | โœ… |
| python-slugify| 4.0.1 | n/a | โœ… |
| Pillow | 8.0.1 | n/a | โœ… |
| rcssmin | 1.0.6 | n/a | โœ… |
| argon2-cffi | 20.1.0 | n/a | โœ… |
| whitenoise | 5.2.0 | 5.2.0 | โœ… |
| redis | 3.5.3 | n/a | โœ… |
| celery | 4.4.6 | n/a | โœ… |
| django-celery-beat | 2.1.0 | 2.1.0 | โœ… |
| flower | 0.9.5 | n/a | โœ… |
| uvcorn | 0.12.2 | n/a | โœ… |
| django-environ | 0.4.5 | | โŒ |
| django-model-utils | 4.1.1 | 4.1.0 | โœ… |
| django-allauth | 0.44.0 | | โŒ |
| django-crispy-forms| 1.10.0 | 1.10.0 | โœ… |
| django-compressor| 2.4 | | โŒ |
| django-redis| 4.12.1 | unreleased | โฑ |
| djangorestframework | 3.12.2 | 3.11.1 | โœ… |
| django-cors-headers | 3.6.0 | 3.4.5 | โœ… |

local.txt

| Name | Version in Master | 3.0 Compatible Version | OK |
| ------------- |:-------------:| :-----:|:--:|
| Werkzeug | 1.0.1 | n/a | โœ… |
| ipdb | 0.13.4 | n/a | โœ… |
| psycopg2 | 2.8.6 | n/a | โœ… |
| watchgod | 0.6 | n/a | โœ… |
| mypy | 0.790 | n/a | โœ… |
| django-stubs | 1.7.0 | | โŒ |
| pytest | 6.1.2 | n/a | โœ… |
| pytest-sugar | 0.9.4 | n/a | โœ… |
| sphinx | 3.3.1 | n/a | โœ… |
| flake8 | 3.8.4 | n/a | โœ… |
| coverage | 5.3 | n/a | โœ… |
| black | 20.8b1 | n/a | โœ… |
| pylint-django | 2.3.0 | 2.3.0 | โœ… |
| pylint-celery | 0.3 | n/a | โœ… |
| pre-commit | 2.8.2 | n/a | โœ… |
| factory-boy | 3.1.0 | unreleased | โฑ |
| django-debug-toolbar | 3.2.0 | 3.0 | โœ… |
| django-extensions | 3.1.0 | 3.0.4 | โœ… |
| django-coverage-plugin | 1.8.0 | | โŒ |
| pytest-django | 4.1.0 | 3.10.0 | โœ… |

production.txt

| Name | Version in Master | 3.0 Compatible Version | OK |
| ------------- |:-------------:| :-----:|:--:|
| gunicorn | 20.0.4 | n/a | โœ… |
| Collectfast | 2.2.0 | | โŒ |
| sentry-sdk | 0.19.3 | n/a | โœ… |
| hiredis | 1.1.0 | n/a | โœ… |
| django-storages | 1.10.1 | 1.10 | โœ… |
| django-anymail | 8.1 | 7.2 | โœ… |

All 3 comments

I did some research. The very first one was djangorestframework only supports upto django 3.0. Case closed. Sorry about this.

https://www.django-rest-framework.org
Seems latest DRF support Django 3.1. Any plan for go with Django 3.1?

It's not only about DRF, but all our django libraries. I'm going to start a table that I'll keep up to date to gather where are our dependencies, taken from @emilepetrone idea in #2352:

Base.txt

| Name | Version in Master | 3.1 Compatible Version | OK |
| ------------- |:-------------:| :-----:|:--:|
| pytz | 2020.4 | n/a | โœ… |
| python-slugify| 4.0.1 | n/a | โœ… |
| Pillow | 8.0.1 | n/a | โœ… |
| rcssmin | 1.0.6 | n/a | โœ… |
| argon2-cffi | 20.1.0 | n/a | โœ… |
| whitenoise | 5.2.0 | 5.2.0 | โœ… |
| redis | 3.5.3 | n/a | โœ… |
| celery | 4.4.6 | n/a | โœ… |
| django-celery-beat | 2.1.0 | 2.1.0 | โœ… |
| flower | 0.9.5 | n/a | โœ… |
| uvcorn | 0.12.2 | n/a | โœ… |
| django-environ | 0.4.5 | | โŒ |
| django-model-utils | 4.1.1 | 4.1.0 | โœ… |
| django-allauth | 0.44.0 | | โŒ |
| django-crispy-forms| 1.10.0 | 1.10.0 | โœ… |
| django-compressor| 2.4 | | โŒ |
| django-redis| 4.12.1 | unreleased | โฑ |
| djangorestframework | 3.12.2 | 3.11.1 | โœ… |
| django-cors-headers | 3.6.0 | 3.4.5 | โœ… |

local.txt

| Name | Version in Master | 3.0 Compatible Version | OK |
| ------------- |:-------------:| :-----:|:--:|
| Werkzeug | 1.0.1 | n/a | โœ… |
| ipdb | 0.13.4 | n/a | โœ… |
| psycopg2 | 2.8.6 | n/a | โœ… |
| watchgod | 0.6 | n/a | โœ… |
| mypy | 0.790 | n/a | โœ… |
| django-stubs | 1.7.0 | | โŒ |
| pytest | 6.1.2 | n/a | โœ… |
| pytest-sugar | 0.9.4 | n/a | โœ… |
| sphinx | 3.3.1 | n/a | โœ… |
| flake8 | 3.8.4 | n/a | โœ… |
| coverage | 5.3 | n/a | โœ… |
| black | 20.8b1 | n/a | โœ… |
| pylint-django | 2.3.0 | 2.3.0 | โœ… |
| pylint-celery | 0.3 | n/a | โœ… |
| pre-commit | 2.8.2 | n/a | โœ… |
| factory-boy | 3.1.0 | unreleased | โฑ |
| django-debug-toolbar | 3.2.0 | 3.0 | โœ… |
| django-extensions | 3.1.0 | 3.0.4 | โœ… |
| django-coverage-plugin | 1.8.0 | | โŒ |
| pytest-django | 4.1.0 | 3.10.0 | โœ… |

production.txt

| Name | Version in Master | 3.0 Compatible Version | OK |
| ------------- |:-------------:| :-----:|:--:|
| gunicorn | 20.0.4 | n/a | โœ… |
| Collectfast | 2.2.0 | | โŒ |
| sentry-sdk | 0.19.3 | n/a | โœ… |
| hiredis | 1.1.0 | n/a | โœ… |
| django-storages | 1.10.1 | 1.10 | โœ… |
| django-anymail | 8.1 | 7.2 | โœ… |

Was this page helpful?
0 / 5 - 0 ratings

Related issues

webyneter picture webyneter  ยท  4Comments

jayfk picture jayfk  ยท  4Comments

yunti picture yunti  ยท  4Comments

sebastian-code picture sebastian-code  ยท  4Comments

adammsteele picture adammsteele  ยท  3Comments