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

from Django.utils import tzinfo #28

Open
fabiom91 opened this issue Aug 7, 2020 · 4 comments
Open

from Django.utils import tzinfo #28

fabiom91 opened this issue Aug 7, 2020 · 4 comments

Comments

@fabiom91
Copy link

fabiom91 commented Aug 7, 2020

Hi I'm on Django 1.11.29 and using python 2.7

I have a dockerised application and I tried to install almost all version of your package unsuccessfully receiving always the same error in the description.

From a look at the files in your repo I can see the error have no reason to exists because it has been solved already. Nevertheless, it seems like pip install is not updated so before anyone else run into the same time wasting issue, here is how to solve it:

in your requirements.txt use this:

git+https://github.com/specialunderwear/django-easymode.git@master

instead of Django-easymode==1.4b5

@specialunderwear
Copy link
Owner

Ok thnx for the help I will update it, would you also need a release or not?

@specialunderwear
Copy link
Owner

Sorry I didn’t get the full message in my email. Do I need to make a new release for you? I’m happy to help.

@fabiom91
Copy link
Author

fabiom91 commented Aug 9, 2020

Thank you for the prompt answer, no need for new release I just wanted to report that the version installed by pip is not the last one despite saying version 1.4b5
To make it work I'll had to install it through GitHub. There may be a problem in your pip version.

@fabiom91
Copy link
Author

fabiom91 commented Aug 9, 2020

In particular, in the pip version, django-easymode/easymode/i18n/gettext.py is trying to import tzinfo from django.utils only instead of from django.utils.timezone import tzinfo as in the last version available on GitHub.

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