To resolve this go to settings.py
where there is new-style MIDDLEWARE
(introduced in Django 1.10)
Change that to old-style MIDDLEWARE_CLASSES
More Related Contents:
- Target WSGI script cannot be loaded as Python module
- How can I modify Procfile to run Gunicorn process in a non-standard folder on Heroku?
- Django Admin: Ordering of ForeignKey and ManyToManyField relations referencing User
- many-to-many in list display django
- django apache configuration with WSGIDaemonProcess not working
- DateTimeField doesn’t show in admin system
- Django vs other Python web frameworks?
- How does Django handle multiple requests?
- Apache mod_wsgi error: Forbidden You don’t have permission to access / on this server
- How do I filter query objects by date range in Django?
- Programmatically saving image to Django ImageField
- Custom Filter in Django Admin on Django 1.3 or below
- Django Aggregation: Summation of Multiplication of two fields
- How to redirect with post data (Django)
- ImportError: No module named ‘django.core.urlresolvers’
- Django migration strategy for renaming a model and relationship fields
- What is the most efficient way to store a list in the Django models?
- Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock
- How does Django Know the Order to Render Form Fields?
- Django server killed frequently
- Django Server Error: port is already in use
- Create Django model or update if exists
- Django Admin nested inline
- Get request body as string in Django
- Overriding the save method in Django ModelForm
- Django class-based view: How do I pass additional parameters to the as_view method?
- Accessing dictionary by key in Django template
- Case insensitive unique model fields in Django?
- Updating context data in FormView form_valid method?
- dynamically loading django apps at runtime