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

dict and getattr o_O #50

Open
liminspace opened this issue Sep 23, 2017 · 3 comments
Open

dict and getattr o_O #50

liminspace opened this issue Sep 23, 2017 · 3 comments

Comments

@liminspace
Copy link

SESSION_REDIS must be a dict.
But in settings.py is written:

getattr(SESSION_REDIS, 'host', 'localhost')

This VERY BIG MISTAKE is a joke?

I see this bug was fixed but it hasn't released yet.

@rhoog
Copy link

rhoog commented Sep 27, 2017

@liminspace That is not the best way to phrase your request for a release.

I do hope it ends up pypi soonish as well though.

@martinrusev
Copy link
Owner

@rhoog will be in pypi soon enough. Wanted to test it for a week or two from git master

@liminspace
Copy link
Author

As result I've moved to django-redis using django.contrib.sessions.backends.cache as SESSION_ENGINE. It works very good and has more functionality.

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