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

none for USER_AGENTS_CACHE #38

Open
itali43 opened this issue Jul 16, 2020 · 1 comment
Open

none for USER_AGENTS_CACHE #38

itali43 opened this issue Jul 16, 2020 · 1 comment

Comments

@itali43
Copy link

itali43 commented Jul 16, 2020

I installed and used django-user-agents in a 2.7 django project, using v4 of this repo. The README advised None for USER_AGENTS__CACHE. Upon trying it I got an error, specifically, I got this:
InvalidCacheBackendError: Could not find config for 'None' in settings.CACHES

Commented the USER_AGENTS_CACHE out and it worked fine though.

@itali43 itali43 changed the title none for USER_AGENT_CACHE none for USER_AGENTS_CACHE Jul 16, 2020
@OneRainbowDev
Copy link

OneRainbowDev commented Aug 24, 2020

Just in case somebody else has this problem, it should be
USER_AGENTS_CACHE = None
not
USER_AGENTS_CACHE = "None"

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

3 participants
@itali43 @OneRainbowDev and others