Re: DJANGO cannot import name _compare_digest

2017-07-01 Thread Pavol Lisy
On 7/1/17, Thomas Jollans wrote: > On 30/06/17 13:32, Pavol Lisy wrote: >> [snip] >> >> python 3.6.1 works as I expected >> > import logging as operator > from operator import _compare_digest as compare_digest >> Traceback (most recent call last): >> File "", line 1, in >> ImportError:

Re: DJANGO cannot import name _compare_digest

2017-07-01 Thread Thomas Jollans
On 30/06/17 13:32, Pavol Lisy wrote: > [snip] > > python 3.6.1 works as I expected > import logging as operator from operator import _compare_digest as compare_digest > Traceback (most recent call last): > File "", line 1, in > ImportError: cannot import name '_compare_digest' > All

Re: DJANGO cannot import name _compare_digest

2017-06-30 Thread Pavol Lisy
On 6/28/17, Xristos Xristoou wrote: > i dont have 'operator.py' in my system only 'test_operator.py' and > 'fix_operator.py' > > if : > import sys > print sys.modules['operator'] > > i get this : > > that say me > > how to rename it? > -- > https://mail.python.org/mailman/listinfo/python-l

Re: DJANGO cannot import name _compare_digest

2017-06-28 Thread Xristos Xristoou
i dont have 'operator.py' in my system only 'test_operator.py' and 'fix_operator.py' if : import sys print sys.modules['operator'] i get this : that say me how to rename it? -- https://mail.python.org/mailman/listinfo/python-list

Re: DJANGO cannot import name _compare_digest

2017-06-28 Thread Thomas Jollans
On 28/06/17 21:52, Xristos Xristoou wrote: > > > hello i have python 7.13 > > DJANGO 1.11.2 version > > django-crypto 0.20 version on windows 10. > > i want to create a DJANGO app but anytime to try to migrate i take > > that error : > > from django.utils.crypto import get_random_string

DJANGO cannot import name _compare_digest

2017-06-28 Thread Xristos Xristoou
hello i have python 7.13 DJANGO 1.11.2 version django-crypto 0.20 version on windows 10. i want to create a DJANGO app but anytime to try to migrate i take that error : from django.utils.crypto import get_random_string File "C:\Python27\lib\site-packages\django\utils\crypto.py", line 8