These are chat archives for mirumee/saleor

4th
Nov 2018
Igor
@IFLead
Nov 04 2018 08:11

Hello, I have got a warning during deployment

./saleor/graphql/middleware.py:14: UserWarning: You do not have 'graphql_jwt.middleware.JSONWebTokenMiddleware' in your GRAPHENE['MIDDLEWARE'] setting. Please see the documentation for more information: https://github.com/flavors/django-graphql-jwt#installation
jwt_middleware = JSONWebTokenMiddleware(get_response=get_response)

Should i add it to settings?

Filip Kucharczyk
@Pacu2
Nov 04 2018 08:44
Hi Igor, don’t mind the error, we are using our custom middleware to handle that.
As far as I remember someone just fixed this warning
Igor
@IFLead
Nov 04 2018 10:12
thank you)
it's really was fixed
but i have one more error
File "/usr/local/lib/python3.7/site-packages/django_redis/client/default.py", line 15, in <module>
from redis.exceptions import ConnectionError, ResponseError, TimeoutError
ModuleNotFoundError: No module named 'redis'
i know, it's simple error, but why does it even appear?
Filip Kucharczyk
@Pacu2
Nov 04 2018 10:46
How did you installed the dependencies? Via pipfile, or requirements.txt?
Igor
@IFLead
Nov 04 2018 16:05
It's a critical bug in pipenv pypa/pipenv#3056 pypa/pipenv#3026