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

Update django and python versions #25

Open
wittfabian opened this issue Jul 7, 2020 · 3 comments
Open

Update django and python versions #25

wittfabian opened this issue Jul 7, 2020 · 3 comments

Comments

@wittfabian
Copy link

A lot of the tested versions are deprecated.

@amitu
Copy link
Owner

amitu commented Jul 8, 2020

Hey @wittfabian, thanks for alerting us. I have updated some versions. Can you please let me know what else needs updating?

@wittfabian
Copy link
Author

I would remove the old versions (Python < 3 and Django < 1.11) Additionally add new versions (Python 3.7 and 3.8, Django 2. and 3.X)

@wittfabian
Copy link
Author

wittfabian commented Jul 9, 2020

Django 2.0 removes the django.core.urlresolvers module, which was moved to django.urls in version 1.10. You should change any import to use django.urls instead, like this:

from django.urls import reverse

See: https://github.com/wittfabian/django-encrypted-id

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