selwin / django-user_agents

A django package that allows easy identification of visitor's browser, OS and device information, including whether the visitor uses a mobile phone, tablet or a touch capable device.
MIT License
635 stars 103 forks source link

none for USER_AGENTS_CACHE #38

Open itali43 opened 3 years ago

itali43 commented 3 years ago

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.

OneRainbowDev commented 3 years ago

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