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

Import OrderedDict from collections #1

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

JohanViirok
Copy link

Previously, OrderedDict was imported from django.utils.datastructures, which does not exist anymore in Django 3. The base repository has switched to importing it from collections instead in commit 5cd85b9. This MR adds this import change to our fork.

This is tested on MHV when doing the upgrade from Django 2.2 to 3.2. However, the original source did this change already for supporting Django 1.11, so in theory it should work for other versions as well.

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