oTree Forum >

How to resolve this? I had cleared sessions config default

#1 by sthom

AttributeError: module 'otree.settings' has no attribute 'SESSION_CONFIG_DEFAULTS'

#2 by fabsi


Did you delete the values from the SESSION_CONFIG_DEFAULTS dictionary, or did you comment out or delete the SESSION_CONFIG_DEFAULTS attribute altogether?

If you did the latter, please add `SESSION_CONFIG_DEFAULTS = dict()` back into the `settings.py` file and run your code again.

If that doesn't resolve your issue, consider posting the contents of your `settings.py` file.

Write a reply

Set forum username