django-cookie-consent icon indicating copy to clipboard operation
django-cookie-consent copied to clipboard

Required config line missing in documentation

Open saint-hilaire opened this issue 2 years ago • 1 comments

I had some trouble setting up this app in my project, until I realized that in my settings.py I need the to set the COOKIE_CONSENT_NAME variable. That is, I added the following line:

COOKIE_CONSENT_NAME = "cookie_consent"

This step does seem rather important, but I didn't see it mentioned anywhere in the docs for setting up, specifically here: https://django-cookie-consent.readthedocs.io/en/latest/configuration.html.

I figured, this is the best place to let someone know ;-)

saint-hilaire avatar May 21 '22 16:05 saint-hilaire

Added this via PR #69

some1ataplace avatar May 22 '22 02:05 some1ataplace

This has been fixed in master - the 0.4.0 release will no longer require this setting to be set explicitly.

sergei-maertens avatar Sep 04 '22 22:09 sergei-maertens