-
Notifications
You must be signed in to change notification settings - Fork 13
Research upgrading to Django 2.2 LTS version #628
Comments
With django2.2.18:
once the db migrations are run on local, switch the django-mptt==0.11.0 in requirements.txt file and install the new requirements, start the server. The templates load OK. |
As a workaround, we can add the |
(20211018-eregs-env) macadmins-mbp-5:fec-eregs pkasireddy$ python manage.py migrate WARNINGS:
|
To resolve the
For testing purpose, forked django-mptt pkg to pkfec (later will fork to Here are the code changes: |
Instead of monkey patching django-mptt, removed code changes here# |
CF logs show that ,with the above fix, all migrations are applied without error, but gives Warning:
Creating a new migration(0016) by running
Please see our issue in django-mptt repo issue for more info on final solution: |
Here is the eregs-django 2.2.24 WIP pr |
We're going to go forward and implement this. |
The django upgrade implementation can be tracked here #632. Closing the research ticket. |
Last time it was attempted to upgrade from Django 1 to Django 2, stylesheets were not loading and
grunt
was not working. Parsing was working.Need to consider these packages when upgrading:
regulations-site
,regulations-parser
,regulations-core
Related issue #626
The text was updated successfully, but these errors were encountered: