Based on the release notes of Django, it seems that:
Support for Mysql 5.5 is dropped in Django 2.1
Support for MariaDB 10.1 and higher is added in Django 3.0
We currently use Django 2.0 with MariaDB 5.5, we'd like to upgrade to Django 3.0 and MariaDB 10.4.
What would be the suggested upgradepath to get to the latest version of Django and MariaDB?
Is Django 2.1 and 2.2 compatible with MariaDB 5.5 and should we upgrade to Django before upgrading MariaDB?
Or is unofficial support for MariaDB 10.x sufficient in Django 2.1 and Django 2.2 and should we just upgrade to MariaDB to 10.4 first?
The "added support" for MariaDB is mostly in name only (https://code.djangoproject.com/ticket/29548 and https://github.com/django/django/commit/b6c4766f53cf00bcf63cc2aa8be977c8589d083e) and is achieved through the mysql database backend. Assuming you are using the recommended mysqlclient version (1.3.13 or later) the safest upgrade strategy would be to first upgrade MariaDB 10.4.
Once that works I would recommend reading (and following) Django's upgrading docs: https://docs.djangoproject.com/en/3.0/howto/upgrade-version/ to get to Django 3.0
With Django >= 3.0, MariaDB is officially supported.
Django now officially supports MariaDB 10.1 and higher.
Related
Currently, the latest version of Django is 3.1. I'm not familiar with Django, so I looked for Django lectures, and there were many Django 2.X versions of lectures. Can I apply Django 2.X version lecture to the latest version of Django (3.1 version)?
Im a beginner to django.
Someone help to connect Oracle 11g db with django 2.0 in windows. What is the requirements and how to connect and what are the changes to be done.
According to the manual,
Django supports Oracle Database Server versions 12.1 and higher. Version 5.2 or higher of the cx_Oracle Python driver is required.
You may run in to trouble with version 11g -- but if you want to give it a shot, that link has the instructions.
We have an existing Django application which uses Django 1.11 and Python 3.6. For some security reasons I have been asked to use Python 3.7. I need to make the minimum changes possible. Do I need to upgrade Django as well? If so , is there any code changes required?
Thanks,
Python 3.7 compatibility was retrospectively added into the classifiers for Django v2.0 in this commit, even though v2.1 was already out. 1.11 was not included.
Discussion on Django tracker is here: https://code.djangoproject.com/ticket/28814
However, 1.11.x is LTS release series, so maybe if you're lucky that will still be added in a micro version upgrade at some later date.
Edit: Python 3.7 support was added in the micro version upgrade for Django 1.11.17 (2018-12-03, about 3 months after this question was originally asked)
According to this page on the Django docs, support for Python 3.7 was added in Django 1.11.17.
https://docs.djangoproject.com/en/1.11/faq/install/#what-python-version-can-i-use-with-django
"Django 1.11 requires Python 2.7, 3.4, 3.5, or 3.6. Django 1.11 is the first release to support Python 3.6. We highly recommend and only officially support the latest release of each series."
In the future, such questions are inevitably asked and answered in the Django docs.
I checked huey's documentation and searched online, but couldn't find version compatibility information of huey with django. Can someone please provide me this information?
The Huey docs say that it supports officially supported Django versions.
In May 2017, the officially supported Django versions are Django 1.8 LTS, Django 1.10 and Django 1.11.
I have configure django_mongodb_engine with django 1.6 version but i am not able to configure it with 1.8 version. I have used steps given on this site
https://django-mongodb-engine.readthedocs.org/en/latest/topics/setup.html
According to my R and D, django mongodb engine doesn't supports django 1.8, As they are using django-nonrel