Closed Raemon closed 6 years ago
Which settings file are you using for your tests? You'll need to make sure django.contrib.sessions
is listed in there. Take a look at the included settings.py
in lazysignup for an example.
Closing due to inactivity - please refer to the test settings file for necessary config.
This thread (https://github.com/danfairs/django-lazysignup/issues/39) seemed to touch upon this issue, but didn't seem relevant to my exact problem. (Or at least, didn't explain it well enough)
LazyUser has been working fine in production, but when I try to build unit tests surrounding it I get this error: