Thursday, September 24, 2020

Backend exception after upgrade.

Hello guys. I'm using Python3.8 and Django2.2. 

After upgrade to django 2.2, I'm getting weird exception which happens only on ecs sever:

AttributeError partially initialized module 'django_redis.cache' has no attribute 'RedisCache' (most likely due to a circular import)

Also had similar exceptions for mysql backend:

AttributeError partially initialized module 'django.db.backends.mysql.compiler' has no attribute 'SQLInsertCompiler' (most likely due to a circular import)

I wonder why it could happen? Also if I build and run the same container locally it works fine. Big thanks for any help.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/aa9fe29b-d1de-42c5-bfd3-114f1dac4255n%40googlegroups.com.

No comments:

Post a Comment