-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Django 3.0 support #2352
Comments
Support will be done sometime in the future, when all dependencies have updated support for Django 3.0. |
Is there a list already of the packages and which have been updated? So we can keep track of which have been which need to be updated and their status. I'm noticing many packages not in Cookiecutter are updated for 3.0 so it would be good to just have a simple table to keep track for this ticket. Happy to put this together, but just want to make sure I'm not recreating something that already exists. |
Good idea, such table would be very helpful indeed. I don't think anyone is doing it at the moment 👍 |
@emilepetrone I am about to move to Django manually, but if you have that list please list them here to save up community time |
This is the start to organizing the packages, current versions in master, and which version of that package is 3.0 compatible. When a package has been updated, we just need to add that version into the table. That way when this PR is created, we can make sure the packages are all updated appropriately. Link to Gist with the raw markdown Base.txt
local.txt
production.txt
|
Besides Traefik, since Django 3.0 offers async, what service should be setup for Django's asgi for Docker? And should asgi be the default if we offer both Traefik and the asgi server? |
@Andrew-Chen-Wang
Next project my
|
@elcolie Thanks for your setup! (just went through uvicorn's deployment doc with some benchmarks). I found this https://www.uvicorn.org/#running-with-gunicorn, but I still stand on having asgi support in docker production be an optional thing rather than immediately implement gunicorn with uvicorn. |
@emilepetrone Collectfast officially adds support for Django 3.0 in 1.3.2 released today. |
django-environ looks dormant. I switched to environs, which has a very similar api (inspired by django-environ) |
I tried to bump the Django version to see what was broken, and the build is now green, I've opened #2469 These are the libraries where support is not yet official:
We should be able to upgrade now, just need to test the generated production app works with various setup.
We have -at least- 2 other issues for it: #2291 and #2195, I think we should consider it but it doesn't look like a blocker here. |
Are we adding Uvicorn and the asgi file? This is what I've been following for playing around with web sockets on native Django 3.0: https://dev.to/jaydenwindle/adding-websockets-to-your-django-app-with-no-extra-dependencies-2f6h |
I just swapped |
@wadkar I did get a postgis Docker configuration going by replacing the current postgres manually. Just make sure you include the required libraries in your I also created a PR for the implementation of Uvicorn and Gunicorn at #2506. Also, you need to change the driver. You can do that by doing:
I also didn't use the alpine version as some thing could go wrong without some of the missing packages of Alpine. |
Django 3.0 support?
when will django 3.0 be supported?
The text was updated successfully, but these errors were encountered: