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

simple_settings.LazySettings raises "cannot import name 'get_cache' from 'django.core.cache'" #294

Open
itsMGA opened this issue May 4, 2023 · 1 comment

Comments

@itsMGA
Copy link

itsMGA commented May 4, 2023

 from simple_settings import LazySettings

/opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages/simple_settings/init.py:1: in
from .models import Settings
/opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages/simple_settings/models.py:2: in
from django.core.cache import get_cache
E ImportError: cannot import name 'get_cache' from 'django.core.cache' (/opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages/django/core/cache/init.py)

Here's the requirements also:

certifi==2022.12.7
chromedriver_autoinstaller==0.4.0
django_simple_settings==0.3.1
jira==3.4.1
openapi_core==0.16.5
pytest==7.2.0
pytest_schema==0.1.1
python_dateutil==2.8.2
PyYAML==6.0
requests==2.28.1
selenium==4.8.2
simple_settings==1.2.0
six==1.16.0
urllib3==1.26.13

Python 3.10, OS: Ubuntu-latest

@Drachenfels
Copy link

You reported an issue with django-simple-settings, a library that seems to be abandoned somewhere in 2013.

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