Skip to content
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

Upgrade Django and other deps #21

Merged
merged 1 commit into from
Apr 22, 2020
Merged

Upgrade Django and other deps #21

merged 1 commit into from
Apr 22, 2020

Conversation

cvitan
Copy link
Contributor

@cvitan cvitan commented Dec 29, 2019

This upgrades Django to the oldest supported version, 1.11.27. As this is a major upgrade, it has the following known implications.

Breaking change

- The jsonfield library is replaced with the native Django.contrib.postgres.fields.JSONField - this unfortunately makes it necessary to rebuild the database from scratch. There are ways around this, source but due to time constraints it's not part of this PR. Since the only field uses is not that major, it should be possible to at least recreate the fields without having to rebuild the entire DB for existing installations.

Changes

  • Various code changes to support Django 1.11 (urls, app configs, etc.)
  • Migrations are moved to native Django migrations, as South is not supported for Django 1.11. Existing installations would need to run the migrations with the --fake-initial flag.
  • Some of the dev tools are removed to make things work for now.

@cvitan cvitan added the WIP label Dec 29, 2019
@cvitan cvitan force-pushed the cvitan/django-upgrade branch from f64d67a to d4c29a1 Compare December 29, 2019 15:50
@cvitan cvitan removed the WIP label Apr 22, 2020
@cvitan cvitan merged commit a4c6a9b into master Apr 22, 2020
@cvitan cvitan deleted the cvitan/django-upgrade branch April 22, 2020 14:21
@cvitan cvitan changed the title [WIP] Upgrade Django and other deps Upgrade Django and other deps Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant