Django Sessions

In this assignment we will add a few lines of code to demonstrate sessions.

https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django/Sessions

The sessions tutorial is simple enough that it needs no further explanation.

Make sure to reload your application under the Web tab in PythonAnywhere whenever you change the views.py file.

References

https://docs.djangoproject.com/en/2.1/ref/class-based-views/generic-display/

https://docs.djangoproject.com/en/2.0/topics/db/queries/#following-relationships-backward