Writing Django tests for session variables stored in cookies

When you need to somehow keep the state of your Django application, one of the possible solutions is to use sessions. They let you overcome the weakness of HTTP, which is, well, stateless. Django uses sessions by default for e.g. user authentication. You need this function if

Read more