ModuleNotFoundError: No module named 'django.utils.lru_cache'
Hi, when i wanted build this project i got next error ModuleNotFoundError: No module named 'django.utils.lru_cache' on step python manage.py migrate Could you help me please?
Hey @LostGRad
Thanks for your issue.
Can you try to update this library django-crispy-forms to version >=1.8.1 pls
Hey @Lujeni, do you mean in file requirements.txt, and re-config ?
@LostGRad please first attempt to install this version using pip. Additionally, we will need to update and fix the requirements.txt file accordingly. :)
Hi @Lujeni
Now I got:
ImportError: cannot import name 'six' from 'django.utils' (/root/matterllo/venv/lib/python3.9/site-packages/django/utils/__init__.py)
@LostGRad I update the requirements on master branch (with crispy and six). Can you try again pls ?
Hi @Lujeni
I got error on step python manage.py runserver
File "/root/matterllo/matterllo/wsgi.py", line 16, in <module> application = get_wsgi_application() File "/root/matterllo/venv/lib/python3.9/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application return WSGIHandler() File "/root/matterllo/venv/lib/python3.9/site-packages/django/core/handlers/wsgi.py", line 127, in __init__ self.load_middleware() File "/root/matterllo/venv/lib/python3.9/site-packages/django/core/handlers/base.py", line 58, in load_middleware mw_instance = middleware(adapted_handler) File "/root/matterllo/venv/lib/python3.9/site-packages/whitenoise/middleware.py", line 20, in __init__ super(WhiteNoiseMiddleware, self).__init__(None) File "/root/matterllo/venv/lib/python3.9/site-packages/whitenoise/django.py", line 39, in __init__ self.configure_from_settings(settings) File "/root/matterllo/venv/lib/python3.9/site-packages/whitenoise/django.py", line 49, in configure_from_settings self.charset = settings.FILE_CHARSET File "/root/matterllo/venv/lib/python3.9/site-packages/django/conf/__init__.py", line 83, in __getattr__ val = getattr(self._wrapped, name) AttributeError: 'Settings' object has no attribute 'FILE_CHARSET'