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

Remove bytes from default cookie name configuration

Open some1ataplace opened this issue 3 years ago • 1 comments

Goes along with PR #24

some1ataplace avatar Mar 07 '22 03:03 some1ataplace

According to the PR thread, if the user does not set COOKIE_CONSENT_NAME or leaves it as COOKIE_CONSENT_NAME = ' ' in their own settings.py, the default value with the bytes will be used instead which produces an error in the terminal.

some1ataplace avatar Mar 11 '22 02:03 some1ataplace

I was able to reproduce this by removing the explicit settings from the testapp used in CI, that's enough for a regression test. This will be resolved in a couple of minutes.

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