Skipping local changes: whole method refactored, has ValueError trap
now.
Avoid causing an exception when there is no session available, as
happens with the test user in data.db.
Fix typo in method name.
Merge branch 'master' of github.com:thaxter/django-xadmin