Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

Updated main_app/models.py main_app/views.py to work with Django v2 #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

Pax-nl
Copy link

@Pax-nl Pax-nl commented Mar 26, 2018

Updated models.py and views.py to work with Django v2.
Updated settings.py to handle the new way of using MIDDLEWARE to fix

'WSGIRequest' object has no attribute 'session'

https://docs.djangoproject.com/en/2.0/topics/http/middleware/#activating-middleware

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant