Django Tutorial: Runserver Error
I'm following the django tutorial and i immediately ran into a problem on part 1. After running python manage.py runserver i enter the URL into my browser and get an error: Impro
Solution 1:
It looks like you are using a version of django prior to version 1.7 (1.6.4 to be specific), and SessionAuthenticationMiddleware
was not introduced until django 1.7. Hence the error
Documentation can be found here
On the bottom right, you can choose the version of django. Select the appropriate version, and follow the tutorial specific to the version of django you are using.
Solution 2:
just delete the following session authentication middleware from your project settings.py
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
Post a Comment for "Django Tutorial: Runserver Error"