DiggingIntoDjango-TreasuregramSampleApp icon indicating copy to clipboard operation
DiggingIntoDjango-TreasuregramSampleApp copied to clipboard

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

Open Pax-nl opened this issue 6 years ago • 0 comments

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

Pax-nl avatar Mar 26 '18 21:03 Pax-nl