amitu / importd

django based mini framework inspired from sinatra. fully compatible with django.
http://amitu.com/importd/
BSD 3-Clause "New" or "Revised" License
511 stars 30 forks source link

Ability to access admin without explicitly declaring MIDDLEWARE_CLASSES. #70

Closed akshar-raaj closed 9 years ago

akshar-raaj commented 9 years ago

Currently /admin gives 'WSGIRequest' object has no attribute 'user'. This happened because AUTHENTICATION_MIDDLEWARE wasn't added in MIDDLEWARE_CLASSES. This commit fixes the issue.

landscape-bot commented 9 years ago

Code Health Code quality remained the same when pulling 33d4e0d on akshar-raaj:fix_admin into 7e5a35f on amitu:master.