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

Django 3.0 Error: ImportError raised when trying to load 'djng.templatetags.djng_tags': cannot import name 'six' #349

Open
SilverStrings024 opened this issue Dec 14, 2019 · 4 comments

Comments

@SilverStrings024
Copy link

Django removed 'six' I'm not sure what to replace it with in the import.
Error: ImportError raised when trying to load 'djng.templatetags.djng_tags': cannot import name 'six'

@jrief
Copy link
Owner

jrief commented Dec 14, 2019

I can fix that.
It boils down to

  • remove all from __future__ import unicode_literals
  • remove six
  • replace against super()

and drop support for Python-2 - which ends its lifecycle on 2020-01-01 anyway

@SilverStrings024
Copy link
Author

So I could do that with the installed version I've got then or should I just wait for an update?

@jrief
Copy link
Owner

jrief commented Dec 14, 2019

@SilverStrings024 creating a pull request would speed up things.

@SilverStrings024
Copy link
Author

SilverStrings024 commented Dec 15, 2019

@jrief What branch do I use?

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

No branches or pull requests

2 participants